Re: multiple interfaces on same subnet?



On 8/1/06, Malcolm Kay <malcolm.kay@xxxxxxxxxxxxxxxx> wrote:

I have no personal experience of doing this, but it seems to me
you should be able to achieve your objective by using a specific
netmask with ifconfig rather than the CIDR / notation:
172.20.0.1/16 -> 172.20.0.1 netmask 255.255.0.1
172.20.0.2/16 -> 172.20.0.1 netmask 255.255.0.1


Creative idea ... even if it's breaking the rules ( so don't do it ).
Even if FreeBSD honors these subnets there is no guarantee that any
other hosts on the network will. Many systems will refuse to even
configure this kind of invalid subnet.

Plus, you can't easily scale this to the 10 networks the original
poster mentioned and it would be a nightmare to try and figure out how
to re-route traffic if one of the next-hop hosts died. (Which was also
a goal mentioned in the original post.)

Although I've head that IPFW can handle multiple dynamic redirects ( I
forswore all other firewalls as soon as I found pf ) you can do it
very simply with pf.



--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: IP range to CIDR list VB6 utility?
    ... a LIST in that notation format. ... building of the CIDR *list* that's driving me bonkers. ... For the example range of 217.224.0.0 through 217.237.161.47 that network ... iterations (this number of iterations varies depending on the address ...
    (microsoft.public.vb.general.discussion)
  • Re: CIDR Explanation
    ... slash notation that's becoming more common. ... CIDR or Classless Internet Domain Routing is VERY similar to subnetting and is ... This two part address is built of a network address and a host address. ... TCP/IP Classes allow for a 'default' subnet mask to identify the network from ...
    (Security-Basics)
  • Re: RADIUS for MAC authentication in WLAN, how doing it?
    ... And some just had them grandfathered from before CIDR. ... But if you're running a public network, ... 15 APs, with, say, 150 users concurrent, evenly spread. ... Then again, if the NetBSD box is NOT to route all traffic, just to ...
    (comp.unix.bsd.netbsd.misc)
  • RE: CIDR Explanation
    ... When you specify a subnet mask to an IP address, ... and the remaining 8 bits as host address. ... In CIDR, it's no harder to ... > segregate parts of the network. ...
    (Security-Basics)
  • Re: RADIUS for MAC authentication in WLAN, how doing it?
    ... indoubtely that makes CIDR really ... > up into multiple pools. ... those issues as soon as the network is fully functional. ... Each wireless device is logged and, ...
    (comp.unix.bsd.netbsd.misc)