Unsolved

This post is more than 5 years old

2 Posts

6207

October 27th, 2003 20:00

BASP with multiple IP addresses

Hello,

I am trying to get multiple IP addresses working with the BASP on Linux 9. The server is a PE2650 with dual onboard NICs.

I have the VA0 interface configured and working. I tried adding a VA1 interface to the same team file, but it does not load the VA1 configuration. I cannot determine from the documentation how to get a second IP address configured. Has anyone done this?

Thanks,

Mike Mazurkiewicz
Systems Administrator
NABP

1 Message

November 30th, 2004 20:00

Here is how to do this... just figured it out today.

Supporting multiple IP addresses on the same VLANThe following configuration will support 2 IP addresses (example:10.1.9.11 and 10.1.9.12) on the same VLAN. An additional /etc/basp file, eg. team-two, and an additional /etc/sysconfig/network-scripts file, eg. ifcfg-primary:0, are required. Additional IP addresses on the same VLAN will require additional /etc/basp and /etc/sysconfig/network-scripts files.

/etc/basp/team-one
TEAM_ID=1
TEAM_TYPE=0
TEAM_NAME=one

# 1st physical interface in the team
TEAM_PA0_NAME=eth0
TEAM_PA0_ROLE=0

# 2nd physical interface in the team
TEAM_PA1_NAME=eth1
TEAM_PA1_ROLE=0

# 1st virtual interface in the team
TEAM_VA0_NAME=primary
TEAM_VA0_VLAN=0
TEAM_VA0_IP=10.1.9.11
TEAM_VA0_NETMASK=255.255.255.0
TEAM_VA0_BROADCAST=10.1.9.255

/etc/basp/team-two
TEAM_ID=2
TEAM_TYPE=0
TEAM_NAME=two

# 1st physical interface in the team
TEAM_PA2_NAME=eth0
TEAM_PA2_ROLE=0

# 2nd physical interface in the team
TEAM_PA3_NAME=eth1
TEAM_PA3_ROLE=0

# 1st virtual interface in the team
TEAM_VA0_NAME=primary:0
TEAM_VA0_VLAN=0
TEAM_VA0_IP=10.1.9.12
TEAM_VA0_NETMASK=255.255.255.0
TEAM_VA0_BROADCAST=10.1.9.255

/etc/sysconfig/network-scripts/
ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
ONBOOT=no

ifcfg-eth1
DEVICE=eth1
BOOTPROTO=static
ONBOOT=no
ifcfg-primary

DEVICE=primary
BOOTPROTO=static
BROADCAST=10.1.9.255
IPADDR=10.1.9.11
NETMASK=255.255.255.0
NETWORK=10.1.9.0
ONBOOT=yes

ifcfg-primary:0
DEVICE=primary:0
BOOTPROTO=static
BROADCAST=10.1.9.255
IPADDR=10.1.9.12
NETMASK=255.255.255.0
NETWORK=10.1.9.0
ONBOOT=yes

No Events found!

Top