[clue-tech] Static routing help?
chris fedde
chris at fedde.us
Wed Apr 15 19:32:36 MDT 2009
in /etc/network/interfaces you'll need something like
auto eth0
iface eth0 inet static
address 205.168.221.XXX
netmask 255.255.255.248
gateway 205.168.221.217
Adjust address as appropriate. The "default route" is a kind of "static
route" in this case.
In a DHCP environment the static route is an attribute given by the dhcp
server.
restart networking using "/etc/init.d/networking restart"
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
HTH
CRF
On Wed, Apr 15, 2009 at 5:50 PM, Jed S. Baer <cluemail at jbaer.cotse.net>wrote:
> Hi Folks.
>
> Normally, I'd RTFM some more, but after spending all afternoon attempting
> to talk to a router, sitting in the hot phone closet off the wood shop,
> no doubt sucking sawdust into the innards of my laptop, and trying to
> read the route manpage on it's little screen (well, compared to my
> glorious NEC monitor here at home), I'm suffer from MEGO syndrome.
>
> Can someone tell me the incantations necessary to do correctly set up a
> default route on Ubuntu 8.10, from the command line, given:
>
> The netblock is 205.168.221.216 255.255.255.248
> The router's LAN IP is 205.168.221.217
>
> I infer from reading the manpage, that I have to first set up a static
> route to the router, and then I can set up the default route. Actually,
> all I need to do is get to the web admin page to reconfigure it to do
> dhcp on 192.168.0.n, and change the router's LAN IP to 192.168.0.1.
>
> Also, perhaps relevant, I can actually ping 205.168.221.217 from my
> laptop, even without having created the route (or, come to think of it,
> maybe I actually had a leftover route from what I thought was an
> unsuccessful attempt). But I can't http to the admin page. Even though
> ping uses ICMP, it still needs a route, no?
>
> TIA,
> jed
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20090415/fb8f67a8/attachment.html
More information about the clue-tech
mailing list