LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Network interfaces named ___tmpxxxx in redhat (https://www.linuxquestions.org/questions/linux-newbie-8/network-interfaces-named-___tmpxxxx-in-redhat-4175420723/)

parkarnoor 08-06-2012 07:28 PM

Network interfaces named ___tmpxxxx in redhat
 
Hi,

i have bond0 configured with eth0 and eth3 on a redhat enterprise linux 5.7.

when i reboot the system, sometimes interface shows as ___tmpxxxx in ifconfig -a.

Do i need to put HWADDR in the slave interface as well.

i have placed it. is it ok to put HWADDR= opton when interfaces are in bond.

also do i need to place TYPE=BOND in the bond0 configuration. or it is not required. since when i place TYPE=BOND, under tail -f /var/log/messages, it shows unknown or invalid option.

kindly suggest

Regards
parkar
UAE

parkarnoor 08-07-2012 12:50 AM

Hi,

i have bond0 configured with eth0 and eth3 on a redhat enterprise linux 5.7.

when i reboot the system, sometimes interface shows as ___tmpxxxx in ifconfig -a.

Do i need to put HWADDR in the slave interface as well.

i have placed it. is it ok to put HWADDR= opton when interfaces are in bond.

also do i need to place TYPE=BOND in the bond0 configuration. or it is not required. since when i place TYPE=BOND, under tail -f /var/log/messages, it shows unknown or invalid option.

kindly suggest

Regards
parkar
UAE

chrism01 08-07-2012 07:36 PM

Here's an (edited) example from a prod system
Code:

cat ifcfg-bond0

DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
IPADDR=1.2.3.4
NETMASK=255.255.255.0
GATEWAY=1.2.3.4
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

cat ifcfg-eth0
# Broadcom Corporation NetXtreme II BCM5706 Gigabit Ethernet
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
HWADDR=11:22::33:44:55:66
MASTER=bond0
SLAVE=yes
TYPE=Ethernet



All times are GMT -5. The time now is 03:15 AM.