Date: Sat, 12 Jul 2003 22:40:39 +0100 From: Bruce Cran <bruce@cran.org.uk> To: questions@freebsd.org Subject: Multiple interfaces with same ip address Message-ID: <20030712214039.GA10367@buffy.brucec.backnet>
next in thread | raw e-mail | index | archive | help
I've read that having the same ip/netmask assigned to multiple NICs isn't supported in FreeBSD, due to problems with routing. I have a setup where I'd like to have rl0, wi0, tun0 and tun1 having the same ip on a /29 subnet, is there some way of achieving this? I've heard about interface aliasing, but that doesn't seem to solve the problem, since it's assigning multiple ips to one interface. I've got it working at the moment, but am wondering if there's a better way of configuring the system. One problem I'm having is I'm running routed across the interfaces, and it looks as though it doesn't like the same ip assigned to multiple interfaces - I get IP_ADD_MEMBERSHIP ALLHOSTS: Can't assign requested address setsockopt(IP_ADD_MEMBERSHIP RIP): Can't assign requested address these appear benign, since RIP does seem to work, but I got a similar message when running the zebra routing daemon, which proved fatal. I'd welcome any hints or advice people might have about how I should be configuring the interfaces and routing. -- Bruce Cran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030712214039.GA10367>