According to Michel Loos on Fri, Nov 16, 2001 at 09:54:53PM -0200: > On Fri, 2001-11-16 at 21:41, Eric Smith wrote: > > > > I am on unstable and trying to give a client machine internet access. > > > > eth1 on the server gets internet access via cable modem via dhcpcd and the > > eth0 to the local LAN. The client and server communicate fine but > > the client does not get internet access. > > > > Also the default ipmasq installation results in the following kernel > > messages > > > > Packet log: output DENY tap0 PROTO=17 192.168.0.1:1025 62.108.1.65:53 L=61 > > S=0x00 I=45 F=0x0000 T=64 (#2) > > Packet log: input DENY eth1 PROTO=2 62.108.30.1:65535 224.0.0.1:65535 L=28 > > S=0xC0 I=15219 F=0x0000 T=1 (#9) > > > > > > I thought this would just work out of the box :( > > It works out of the box if eth0 is external and eth1 is local. > In your case you have to modify the 00Interfaces(?sp I use iptables now) > file in order to switch external and internal ethernet cards.
Oh, So I adapted one of the given examples thusly: auto eth0 eth1 iface eth0 inet dhcp pre-up /usr/share/doc/ifupdown/examples/check-mac-address.sh eth0 00:50:Fc:43:Cd:F0 up /etc/init.d/ipmasq start iface eth1 inet static pre-up /usr/share/doc/ifupdown/examples/check-mac-address.sh eth1 00:50:04:11:F3:EB address 192.168.0.1 netmask 255.255.255.0 up /sbin/dhcpcd But still cannot switch the cards after a reboot. Anything wrong with the above? -- Eric Smith