[nzlug] ADSL modem for pppoe bridge (half bridge)
Peter
webwiz at pl.net
Mon Jun 16 09:49:00 NZST 2008
> Can you confirm that the absence of a new line between the first and
> second /sbin/route commands is a typo?
No thats my not too bright (win) mozilla email client, which gets all confused when you start pasting lines in which have a mixture of dos and unix line endings. Ive been meaning to file a bug on it for ages. It (the client) didnt send the \n between the 2 lines (even though it looked like a \n), then the listserver (or some other mail agent on route) broke the line becasue it was deemed too long. I sometimes wonder how we ever put a man on the moon, when a simple email cant be delivered as sent.
/sbin/route add -host 202.27.211.183 dev eth1
/sbin/route add default gw 202.27.211.183 dev eth1
was what i used.
Thanks for that pair of emails, they made for engrossing reading.
Regards
Peter Scott
Nick 'Zaf' Clifford wrote:
> Peter wrote:
>> /sbin/route add -host 202.27.211.183 dev eth1 /sbin/route add default
>> gw 202.27.211.183 dev eth1
>> gives me:
>> long pause then "host: Host name lookup failure"
>> and
>> SIOCADDRT: File exists respectively
>>
> Yes, I can.. "host: Host name lookup failure". The function call to
> print the error is:
> printf("%s: Host name lookup failure",hostname);
> (or similar)
> Eg for some reason the route command is assume -host is the hostname
> ...
More information about the NZLUG
mailing list