Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • O OpenStack-Cloud
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Christopher Hauser
  • OpenStack-Cloud
  • Wiki
  • eth if names

eth if names · Changes

Page history
ehx27 created page: Add Computenode to Beta cluster authored Jan 15, 2016 by Christopher Hauser's avatar Christopher Hauser
Show whitespace changes
Inline Side-by-side
eth-if-names.md 0 → 100644
View page @ ee15519b
# Ethernet Interface names
1. The Grub Bootloader needs a flag, to forget about the actual IF names.
1.1 for diskless nodes, add in file `pxelinux.cfg/default` to the append line `net.ifnames=0`
1.2 on disk installations, update all files vim `/etc/sysconfig/network-scripts/ifcfg-*`, update grub config `/etc/default/grub` and add to the line GRUB_CMDLINE_LINUX at the end `net.ifnames=0`, rebuild grub afterwards with `grub2-mkconfig -o /boot/grub2/grub.cfg`
```
# change computenode network interface names
cd /etc/sysconfig/network-scripts/
mv ifcfg-eth0 ifcfg-ethctrl
sed -i 's/eth0/ethctrl/' ifcfg-ethctrl
mv ifcfg-eth1 ifcfg-ethdata
sed -i 's/eth1/ethdata/' ifcfg-ethdata
```
2. Tell udev to rewrite. Create `/etc/udev/rules.d/70-persistent-net.rules` with:
```
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:67:39:84:04", ATTR{type}=="1", KERNEL=="eth*", NAME="ethdata"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:67:39:84:03", ATTR{type}=="1", KERNEL=="eth*", NAME="ethctrl"
```
Change the MAC address to the right ones ...
\ No newline at end of file
Clone repository
  • Add Computenode to Beta cluster
  • disk partitioning
  • eth if names
  • ganglia
  • Home
  • ipmitool
  • kickstart
  • networking
  • neutron external
  • nova migration
  • omi clusterlab addnode
  • omi clusterlab index
  • omi clusterlab nodes
  • opendaylight
  • openstack export image
View All Pages