Adding 3rd NIC to router
I have the obvious two nics:
eth0 - My WAN nic
eth1 - my LAN nic
I added a 3rd, eth2. The point of the nic is so I can have a second box on my network (I don't have a switch). The nic comes up fine, but I need to know how to configure it. Does this nic need to use dhcp and obtain an address from eth1?
This is what my config looks like
In rc.local I have:
For some reason I can't get eth0 to obtain an IP from my ISP without that entry, and dhcpd on eth1 is obviously mandatory.
My rc.inet1.conf file shows eth0 as using dhcp, and eth1, being my router nic, is configured with an IP 192.168.1.100
Does eth2 just automatically pass traffic along to my second machine, or do I need to configure it somehow to do so?
By the way, I run Slackware 10.1 and kernel 22.214.171.124
I bridged eth1 and 2 together and all is well.