View Issue Details

IDProjectCategoryView StatusLast Update
0005760CentOS-6udevpublic2012-06-01 12:48
Reportertorel@dolphingeo.com 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86:64OSCentOSOS Version6,2
Product Version6.2 
Target VersionFixed in Version 
Summary0005760: udevd creates wrong entry in 70-persistent-net.rules when using tagging
DescriptionWorkstations with 10GigE. udevd makes and entry with p1p1.vlanid in the 70-persistent-net.rules files.

[root@pdc-wkst03 ~]# more 70-persistent-net.rules.UDEVD-BUG
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x14e4:0x1681 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d0:67:e5:e8:c0:2f", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x10fb (ixgbe) (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:ed:1f:8c:6c", ATTR{type}=="1", KERNEL=="eth*", NAME="p1p1.12
1"

# PCI device 0x8086:0x10fb (ixgbe) (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:ed:1f:8c:6c", ATTR{type}=="1", KERNEL=="eth*", NAME="p1p1"


Proper file should be like this:

[root@pdc-wkst03 ~]# more 70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x14e4:0x1681 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d0:67:e5:e8:c0:2f", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x10fb (ixgbe) (custom name provided by external tool)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:ed:1f:8c:6c", ATTR{type}=="1", KERNEL=="eth*", NAME="p1p1"

Steps To ReproduceMake vlan tagged interfaces.


p1p1 Link encap:Ethernet HWaddr 00:E0:ED:1F:8C:6C
          inet6 addr: fe80::2e0:edff:fe1f:8c6c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:8098004202 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2145055201 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11338245938120 (10.3 TiB) TX bytes:179049893202 (166.7 GiB)

p1p1.105 Link encap:Ethernet HWaddr 00:E0:ED:1F:8C:6C
          inet addr:10.128.163.45 Bcast:10.128.163.255 Mask:255.255.255.0
          inet6 addr: fe80::2e0:edff:fe1f:8c6c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:4708500 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3998705 errors:0 dropped:2 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1005246942 (958.6 MiB) TX bytes:281735858 (268.6 MiB)

p1p1.121 Link encap:Ethernet HWaddr 00:E0:ED:1F:8C:6C
          inet addr:10.128.169.242 Bcast:10.128.169.255 Mask:255.255.254.0
          inet6 addr: fe80::2e0:edff:fe1f:8c6c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1806219572 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2140995861 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10896940647457 (9.9 TiB) TX bytes:178763731391 (166.4 GiB)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2012-06-01 12:48 torel@dolphingeo.com New Issue