Tom Eastep wrote: > Stephen Brown wrote: >> I'm using 4.4.0, so that would make RFC1918_STRICT deprecated? >> >> I'm just a little confused now on the network settings for the port that >> is attached to the DSL modem, it's on eth0. >> >> I currently have this setup in /etc/network/interfaces (I'm running >> Debian 5.0 "Lenny"): >> >> # eth0 interface facing internet >> auto eth0 >> iface eth0 inet static >> address 76.5.159.xxx (last octet masked) >> netmask 255.255.255.224 >> gateway 76.5.159.161 >> >> The DSL modem is in bridged mode, and I can't get to it unless I add an >> alias, this is how it is configured presently: >> >> # virtual interface to DSL modem >> auto eth0:0 >> iface eth0:0 inet static >> address 192.168.2.2 >> netmask 255.255.255.0 >> >> For this to work correctly like you mention below, would I need to >> replace the static settings for eth0? I think if I do that the modem may >> not be aware of it's static IP configuration, but I could be wrong.... >> Or am I completely off base alltogether? :) > > Your modem has a different address from mine so you will have to adjust > my suggestions to match your setup. The eth0:0 stanza above does the > same thing as my 'ip addr add' command (except that the addresses are > different). Now you need to add: > > post-up ip route add 192.168.2.1 dev eth0
Actually, you don't need that; your eth0:0 stanza will add a net route for 192.168.2.0/24. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users