F19 - network instead NM is working now, but I have a question
Cristian Sava
csava at central.ucv.ro
Tue Jun 11 10:52:07 UTC 2013
On Tue, 2013-06-11 at 10:59 +0300, Cristian Sava wrote:
> I am testing F19-TC2 LXDE in a VirtualBox.
> Now "network" instead NM is working as expected.
>
> We do not have the "device" mentioned in
> /etc/sysconfig/network-scripts/ifcfg-enp0s3
>
> How is advised to add an alias interface?
> Do we have to get the interface name from "route" or whatever and add it
> in ifcfg-enp0s3:0 as DEVICE=p2p1:0 ?
> Do we still need to use /etc/rc.d/rc.local for that?
> I did not find any obvious hint on the net, so an advice is welcome.
I can confirm that something like DEVICE=p2p1:0 in ifcfg-enp0s3:0 is now
working!!!
Congrats! Good work done!
[root at localhost network-scripts]# cat ifcfg-enp0s3
PEERROUTES="yes"
IPV6INIT="yes"
UUID="e4e1bc69-70c3-49d2-a991-68a8e7533485"
IPV6_PEERDNS="yes"
DEFROUTE="yes"
PEERDNS="yes"
IPV4_FAILURE_FATAL="no"
HWADDR="08:00:27:88:5C:09"
BOOTPROTO="dhcp"
IPV6_DEFROUTE="yes"
IPV6_AUTOCONF="yes"
IPV6_FAILURE_FATAL="no"
IPV6_PEERROUTES="yes"
TYPE="Ethernet"
ONBOOT="yes"
NAME="enp0s3"
[root at localhost network-scripts]# cat ifcfg-enp0s3:0
DEVICE="p2p1:0"
PEERROUTES="yes"
IPV6INIT="yes"
UUID="e4e1bc69-70c3-49d2-a991-68a8e7533485"
IPV6_PEERDNS="yes"
DEFROUTE="yes"
PEERDNS="yes"
IPV4_FAILURE_FATAL="no"
HWADDR="08:00:27:88:5C:09"
#BOOTPROTO="dhcp"
BOOTPROTO="none"
IPADDR=10.0.2.246
NETMASK=255.255.255.0
IPV6_DEFROUTE="yes"
IPV6_AUTOCONF="yes"
IPV6_FAILURE_FATAL="no"
IPV6_PEERROUTES="yes"
TYPE="Ethernet"
ONBOOT="yes"
NAME="enp0s3:0"
[root at localhost network-scripts]# ifup ifcfg-enp0s3:0
[root at localhost network-scripts]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
default 10.0.2.2 0.0.0.0 UG 0 0 0
p2p1
10.0.2.0 * 255.255.255.0 U 0 0 0
p2p1
link-local * 255.255.0.0 U 1002 0 0
p2p1
[root at localhost network-scripts]# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 12 bytes 720 (720.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 720 (720.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
p2p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00:27ff:fe88:5c09 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:88:5c:09 txqueuelen 1000 (Ethernet)
RX packets 65 bytes 8826 (8.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 110 bytes 12346 (12.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
p2p1:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.246 netmask 255.255.255.0 broadcast 10.0.2.255
ether 08:00:27:88:5c:09 txqueuelen 1000 (Ethernet)
[root at localhost network-scripts]#
Cristian Sava
More information about the test
mailing list