17.11.
# cd /etc/NetworkManager/system-connections/ # cp enc9a0.nmconnection enc600.nmconnection
# lsqeth -p devices CHPID interface cardtype port chksum prio-q'ing rtr4 rtr6 lay'2 cnt -------------------------- ----- ---------------- -------------- ---- ------ ---------- ---- ---- ----- ----- 0.0.09a0/0.0.09a1/0.0.09a2 x00 enc9a0 Virt.NIC QDIO 0 sw always_q_2 n/a n/a 1 64 0.0.0600/0.0.0601/0.0.0602 x00 enc600 Virt.NIC QDIO 0 sw always_q_2 n/a n/a 1 64
[connection] type=ethernet interface-name=enc600 [ipv4] address1=10.12.20.136/24,10.12.20.1 dns=10.12.20.53; method=manual [ethernet] mac-address=00:53:00:8f:fa:66
# chown root:root /etc/NetworkManager/system-connections/enc600.nmconnection
- 파일을 저장합니다.
# nmcli connection reload
# nmcli connection show enc600
# cio_ignore -r read_device_bus_id,write_device_bus_id,data_device_bus_id
# cio_ignore -r 0.0.0600,0.0.0601,0.0.0602
# echo add > /sys/bus/ccw/devices/read-channel/uevent
예를 들면 다음과 같습니다.
# echo add > /sys/bus/ccw/devices/0.0.0600/uevent
# lsqeth
[ipv4] address1=10.12.20.136/24,10.12.20.1 [ipv6] address1=2001:db8:1::1,2001:db8:1::fffe
# nmcli connection up enc600
# ip addr show enc600 3: enc600: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 3c:97:0e:51:38:17 brd ff:ff:ff:ff:ff:ff 10.12.20.136/24 brd 10.12.20.1 scope global dynamic enc600 valid_lft 81487sec preferred_lft 81487sec inet6 1574:12:5:1185:3e97:eff:fe51:3817/64 scope global noprefixroute dynamic valid_lft 2591994sec preferred_lft 604794sec inet6 fe45::a455:eff:d078:3847/64 scope link valid_lft forever preferred_lft forever
# ip route default via 10.12.20.136 dev enc600 proto dhcp src
# ping -c 1 10.12.20.136 PING 10.12.20.136 (10.12.20.136) 56(84) bytes of data. 64 bytes from 10.12.20.136: icmp_seq=0 ttl=63 time=8.07 ms
추가 리소스