High ping latency using two ethernet under FreeBSD 4.11 ...

Marc G. Fournier scrappy at hub.org
Tue Mar 15 09:12:27 PST 2005


On Tue, 15 Mar 2005, dima wrote:

> This actually means you have 1 virtual interface fec0 representing 2 or 
> more physical interfaces. The load balancing scheme can be assigned by a 
> Catalyst, but low-end models like 2950 and 3550 can only balance traffic 
> based on the least significant bit(s) of MAC-address.

'k, definitely not what I'm looking for then ... unless I'm missing 
something with how alias's work?

Right now, I have 2 C-classes, but theyy are assigned to the interface 'on 
the fly' ... so, I could have something like:

200.46.204.10
200.46.208.254
200.46.208.251
200.46.204.5

and then, after being up 15 days, might need to add yet another:

200.46.208.244

now, my understanding (which may be wrong) is that when aliasing the IPs 
onto the interface, they pretty much need to be 'bundled' ... if:

ifconfig fxp0 inet 200.46.204.2 netmask 255.255.255.0 (base server)
ifconfig fxp0 alias 200.46.204.10 netmask 255.255.255.255
ifconfig fxp0 alias 200.46.204.5 netmask 255.255.255.255
ifconfig fxp0 alias 200.46.208.254 netmask 255.255.255.0
ifconfig fxp0 alias 200.46.208.251 netmask 255.255.255.255
ifconfig fxp0 alias 200.46.208.244 netmask 255.255.255.255

so, I could add another 200.46.208.* to the interface, but wouldn't be 
able to add another 200.46.204.* to it, at least not without erasing all 
IPs and rebuilding the list ...

If this isn't correct, please feel free to correct me ... what I'd love to 
be able to do is:

ifconfig fxp0 inet 200.46.204.2 netmask 255.255.255.0 (base server)
ifconfig fxp1 alias 200.46.208.2 netmask 255.255.255.0 (base server again)
ifconfig fxp0 alias 200.46.204.10 netmask 255.255.255.255
ifconfig fxp0 alias 200.46.204.5 netmask 255.255.255.255
ifconfig fxp0 alias 200.46.208.254 netmask 255.255.255.255
ifconfig fxp0 alias 200.46.208.251 netmask 255.255.255.255
ifconfig fxp0 alias 200.46.208.244 netmask 255.255.255.255

but didn't think this was doable ...

So, right now, I'm using both fxp0 and fxp1, with fxp0 handling the 
200.46.204.* C-class, and fxp1 handling the 200.46.208.* C-class, so that 
I can easily add/remove as required ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-net mailing list