High ping latency using two ethernet under FreeBSD 4.11
...
"." at babolo.ru
"." at babolo.ru
Tue Mar 15 09:42:00 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 ...
Why not:
ifconfig fxp0 inet 200.46.204.2/24
ifconfig fxp0 inet 200.46.208.2/24 alias
ifconfig fxp0 inet 200.46.204.10/32 alias
ifconfig fxp0 inet 200.46.204.5/32 alias
ifconfig fxp0 inet 200.46.208.254/32 alias
ifconfig fxp0 inet 200.46.208.251/32 alias
ifconfig fxp0 inet 200.46.208.244/32 alias
so on
?
With the only fxp0 interface
You can freely add or delete all /32 addresses
while not 200.46.204.2 and 200.46.208.2
> 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
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-net
mailing list