[H-GEN] ip masq with two nics

Byron Ellacott rodent at route-qn.uqnga.org.au
Thu Jun 11 03:53:00 EDT 1998


On Thu, Jun 11, 1998 at 09:54:05AM +1000, Rob Kearey wrote:
> How do I set up the second nic? Do I tell it it's 192.168.1.1 and then
> use ipfwadm to hide it from the universe, or what? The docs I've got are
> less than clear, and I need coffee.
ifconfig it to give it appropriate IPs et al

route add -net 192.168.1.0/24 in this case, your values may vary
ipfwadm -F -m -S 192.168.1.0/24

or similar

then on the other machines on the network, you merely ifconfig them,
route add -net them, and route add default gw them

HTH, FWIW, AAA.


----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe



More information about the General mailing list