Date: Sat, 31 Aug 1996 16:40:46 -0400 From: satan@yoss.canweb.net To: questions@freebsd.org Subject: ip aliasing does not work Message-ID: <199608312040.QAA20674@yoss.canweb.net>
next in thread | raw e-mail | index | archive | help
Ip aliasing does not seem to work when the primary ip is on a different subnet than the aliased ips. Here is what I have. The ed0 interface is configured for 152.160.182.16, netmask 255.255.255.0. I want to add ip aliases like 152.160.5.2. I do ifconfig ed0 inet 152.160.5.2 alias route add 152.160.5.2 localhost This does NOT work. NOTE that the added alias is on a different subnet than then original ip. I have tried various masks for ifconfig, no luck. Moreover, the route command usually produces errors like writing to routing socket: File exists or writing to routing socket: No such process I cant seem to add the proper OR modify the route added by ifconfig. --Stan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608312040.QAA20674>
