F19 - network instead NM is working now, but I have a question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[cristi@localhost network-scripts]$ sudo systemctl disable
NetworkManager.service
[sudo] password for cristi: 
rm '/etc/systemd/system/multi-user.target.wants/NetworkManager.service'
rm '/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service'
[cristi@localhost network-scripts]$ sudo systemctl stop
NetworkManager.service
[cristi@localhost network-scripts]$ sudo systemctl enable
network.service
network.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig network on
[cristi@localhost network-scripts]$ sudo systemctl start network.service
[cristi@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     1      0        0 p2p1
link-local    *          255.255.0.0     U     1002   0        0 p2p1
[cristi@localhost network-scripts]$ ping fw.xx.yy.ro
PING fw.xx.yy.ro (193.x.y.253) 56(84) bytes of data.
64 bytes from fw.xx.yy.ro (193.x.y.253): icmp_seq=1 ttl=63 time=2.06 ms
64 bytes from fw.xx.yy.ro (193.x.y.253): icmp_seq=2 ttl=63 time=0.801 ms
64 bytes from fw.xx.yy.ro (193.x.y.253): icmp_seq=3 ttl=63 time=0.808 ms
^C
--- fw.xx.yy.ro ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.801/1.223/2.061/0.593 ms
[cristi@localhost network-scripts]$
cat /etc/sysconfig/network-scripts/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"
[cristi@localhost network-scripts]$ 

Cristian Sava


-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test





[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux