D'oh!

chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org
Sun Jan 20 21:15:55 UTC 2008


Lennart Sorensen writes: 

<snip> 

> No.  Your router gets a DHCP address from the ISP for the cable modem.
> It then masquarades your local network using that IP.  No one behind the
> router needs DHCP since no one behind the router is visible to the
> outside. 
> 
> After all the 192.168 address you are getting from DHCP is a private
> local only IP, it isn't your IP on the internet so obviously DHCP isn't
> giving you an IP from the cable company on that machine.

Yeah, I'm finally understanding this stuff. Here is my new (simplified) 
/etc/network/interfaces: 

auto lo
auto eth0
auto eth0:0 

iface eth0 inet static
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1 

iface lo inet loopback 

Can that be streamlined any more or is that as simple as it can be? 

Chris
> 
> --
> Len Sorensen
> --
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list