in /etc/network/interfaces you'll need something like<br><br>auto eth0<br>iface eth0 inet static<br>address 205.168.221.XXX<br>netmask 255.255.255.248<br>gateway 205.168.221.217<br><br>Adjust address as appropriate. The "default route" is a kind of "static route" in this case.<br>
In a DHCP environment the static route is an attribute given by the dhcp server.<br><br>restart networking using "/etc/init.d/networking restart"<br><br>Routing within the "broadcast domain" is handled by ARP but to get to get to addresses outside your local LAN requires that the system know where the router is. Hence the static route<br>
<br>HTH<br>CRF<br><br><br><div class="gmail_quote">On Wed, Apr 15, 2009 at 5:50 PM, Jed S. Baer <span dir="ltr"><<a href="mailto:cluemail@jbaer.cotse.net">cluemail@jbaer.cotse.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Folks.<br>
<br>
Normally, I'd RTFM some more, but after spending all afternoon attempting<br>
to talk to a router, sitting in the hot phone closet off the wood shop,<br>
no doubt sucking sawdust into the innards of my laptop, and trying to<br>
read the route manpage on it's little screen (well, compared to my<br>
glorious NEC monitor here at home), I'm suffer from MEGO syndrome.<br>
<br>
Can someone tell me the incantations necessary to do correctly set up a<br>
default route on Ubuntu 8.10, from the command line, given:<br>
<br>
The netblock is 205.168.221.216 255.255.255.248<br>
The router's LAN IP is 205.168.221.217<br>
<br>
I infer from reading the manpage, that I have to first set up a static<br>
route to the router, and then I can set up the default route. Actually,<br>
all I need to do is get to the web admin page to reconfigure it to do<br>
dhcp on 192.168.0.n, and change the router's LAN IP to 192.168.0.1.<br>
<br>
Also, perhaps relevant, I can actually ping 205.168.221.217 from my<br>
laptop, even without having created the route (or, come to think of it,<br>
maybe I actually had a leftover route from what I thought was an<br>
unsuccessful attempt). But I can't http to the admin page. Even though<br>
ping uses ICMP, it still needs a route, no?<br>
<br>
TIA,<br>
jed<br>
_______________________________________________<br>
clue-tech mailing list<br>
<a href="mailto:clue-tech@cluedenver.org">clue-tech@cluedenver.org</a><br>
<a href="http://www.cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br>
</blockquote></div><br>