> > I am trying to configure multi-isp system using the latest > > Bering-uClibc 3.1-beta1. I have two dual port cards (first > > is e100 based driver and the second is tulip) and they are > > all recognized and able to assign IP. I have a block of 32 > > and 8 IPs respectively from each ISP that I am trying to > > assign to the two interfaces, no matter what I do, only first > > listed ISP gets assigned the multiple aliases but not the second > > one. > > How are you assigning your IP addresses and "aliases"?
Aliases are assigned in /etc/network/interfaces > What is the output of "ip addr show"? I currently have working lrp with single isp with 32 block and the corresponding aliases working. The one that I am building is right now a stand alone machine connected to a console and hence please bear with me on the following shortened description: 1. lo: .. 2. dummy0: .. 3. eth0 ... inet 1.2.3.2/27 brd x.y.z.31 scope global eth0 inet 1.2.3.3/27 scope global secondary eth0:3 . . inet 1.2.3.30/27 scope global secondary eth0:30 4. eth1 inet 192.168.5.2/24 brd 255.255.255.0 scope global eth1 inet 192.168.5.30/24 scope global secondary eth1:30 3. eth2 ... inet 4.5.6.18/29 brd 4.5.6.23 scope global eth2 4. eth3 inet 192.168.6.2/24 brd 255.255.255.0 scope global eth3 inet 192.168.6.30/24 scope global secondary eth3:30 > What should "ip addr show" display? I expected to see the aliases entry for 'eth2' interface as well (which is the second isp link). > I have not worked with shorewall in a multi-isp setup, but I've done > plenty of setups with secondary IP's, including multiple public IP > addresses on multiple interfaces (using proxy-arp). In general, I would > recommend setting up the IP address(es) prior to starting shorewall. I > like to use the iproute2 command, ie: > > ip addr add 11.22.33.44/24 dev eth0 Yes this how it is done, via package etc.lrp, with entries of the following kind in /etc/network/interfaces: up ip address add 4.5.6.19/29 dev eth2 label eth2:19 As I have indicated before, similar to the above entries under eth0, eth1 and eth3 all show up right aliases for 'ip addr' command. > ...which can be run auto-magically by folding it into the ifup/ifdown > configuration (/etc/network/interfaces and related files), typically as > an "up" or "post-up" command that gets run after the interface comes up. > Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/