bond0:0 + define virtual IP
Posted
by
yael
on Super User
See other posts from Super User
or by yael
Published on 2011-01-16T17:54:34Z
Indexed on
2012/11/29
23:11 UTC
Read the original article
Hit count: 225
linux
in my Linux server I have the following:
Linux Version - RedHat-Linux- 5.3.0.0
(this Linux server only only one LAN)
more /etc/sysconfig/network-scripts/ifcfg-bond0:0
DEVICE=bond0:0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.10.10.12
NETMASK=255.255.255.0
ifconfig -a
bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
bond0:0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:10.10.10.12 Bcast:1.1.1.255 Mask:255.255.255.0
UP BROADCAST MASTER MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:0E:0C:C7:F8:92
inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::20e:cff:fec7:f892/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8600 errors:0 dropped:0 overruns:0 frame:0
TX packets:4764 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:717979 (701.1 KiB) TX bytes:598620 (584.5 KiB)
Memory:b8820000-b8840000
my problems:
- why I get HWaddr 00:00:00:00:00:00 and not the real MAC address
- I cant ping to other server with 10.10.10.11 from my server
- is it possible to define bond0:0 when I have only one LAN (eth0)
other info:
more /etc/modprobe.conf
alias eth0 e1000e
alias eth1 e1000e
alias eth2 e1000e
alias eth3 e1000e
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptsas
alias scsi_hostadapter2 ata_piix
alias bond0 bonding
alias bond1 bonding
© Super User or respective owner