Hi,
As cloud server default network configure int0 as private network int1 as public network.
But client's application must run public network on eth0 and private network on eth1.
I changed /etc/sysconfig/network-scripts/ifcfg-int0 to ifcfg-eth1
and changed /etc/sysconfig/network-scripts/ifcfg-int1 to ifcfg-eth0
Verified "biosdevname=0 net.ifnames=0" is configured to GRUB_CMDLINE_LINUX in the file of /etc/sysconfig/grub.
Changed /etc/udev/rules.d/70-persistent-ipoib.rules
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{type}=="1", ATTR{address}=="0c:c4:7a:89:0a:af", KERNEL=="eth*", NAME="eth0"
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{type}=="1", ATTR{address}=="0c:c4:7a:89:0a:ae", KERNEL=="eth*", NAME="eth1"
But after reboot, the eth0 & eth1 cannot be up.
Try to run ifup ifcfg-eth0 manually, then get error as below
ERROR:[/etc/sysconfig/network-scripts/ifup-eth] Device eth0 has different MAC address than expected, ignoring.
Who can help to give some advice?
Thanks.
network card cannot be up after change int0& int1 to eth1ð0
Re: network card cannot be up after change int0& int1 to eth1ð0
This sounds like a question for your provider as nothing I know of calls network interfaces "intX".
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: network card cannot be up after change int0& int1 to eth1ð0
do you have any suggestion how to change these name?TrevorH wrote:This sounds like a question for your provider as nothing I know of calls network interfaces "intX".
Re: network card cannot be up after change int0& int1 to eth1ð0
No since I do not know how they made them appear with such names, hence the suggestion to ask them.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: network card cannot be up after change int0& int1 to eth1ð0
By the way, after making those changes, have you rebuild your initramfs ?
If not - do it.
If not - do it.
Re: network card cannot be up after change int0& int1 to eth1ð0
I had to change from emN to ethN, and the advice I found was slightly different:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:55", ATTR {type}=="1", KERNEL=="eth*", NAME="public"
You may also want to check that the names and mac addresses in ifcfg-ethN are correct.
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:55", ATTR {type}=="1", KERNEL=="eth*", NAME="public"
You may also want to check that the names and mac addresses in ifcfg-ethN are correct.