Date: Tue, 30 Jun 1998 14:05:40 +1000 (EST) From: Alan Sawyer <frooky@sx.com.au> To: questions@FreeBSD.ORG Subject: Ip aliasing with Freebsd. Message-ID: <Pine.LNX.3.96.980630140106.15835A-100000@southx.sx.com.au>
next in thread | raw e-mail | index | archive | help
Hi, wondering if you can help me. What I would like to do is lets say I have 2 class C addresses on my LAN. I would like the BSD machine to have an address for each, and communicate to the hosts's on each class C via the ip of the respective hosts. Okay, setting up an interface ifconfig ep0 inet 203.19.222.6 netmask 255.255.255.255 alias then a route route -n add -host 203.19.222.6 -iface ed0 then I would like to route all traffic to 203.19.222.0 via the .6 ip route -n add -net 203.19.222.0 203.19.222.6 route -n add -net 203.36.8.0 203.36.8.34 route -n add -host 203.36.8.1 203.19.222.6 route -n add default 203.36.8.1 <being my wan link> or so I would of thought. I come from a predominantly Linux background, so I am not certain how to impliment this on BSD. Regards, Alan Sawyer. IRC @ Frooky. Systems/Network Administrator. Satlink Internet Services P/L I'm not fat..... I'm festively plump. - Eric Cartman. South Park. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.980630140106.15835A-100000>