Unix virtual interfaces
Jan Maria Matějka
jan.matejka at nic.cz
Thu Apr 12 17:48:51 CEST 2018
Try
# ip link add lo1 type dummy
# ip a add 10.10.10.10/24 dev lo1
The ifconfig tool is deprecated.
M.
Quidquid latine dictum sit, altum videtur.
-----Original Message-----
From: RICCARDO RUSSO <riccardo.russo79 at gmail.com>
To: bird-users at network.cz
Sent: Thu, 12 Apr 2018 4:41 PM
Subject: Unix virtual interfaces
Hello,
I'm running bird 2.0.2 on centOS
I've configured 2 virtual interfaces (eth1:1 and lo:1)
When I run show protocol I don't see them. Are virtual interfaces supported
by bird?
I need it in order to advertise by BGP lo:1
R
---------------------------------------
# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 163.162.230.198 netmask 255.255.255.240 broadcast
163.162.230.207
inet6 fe80::2e:a6ff:fe66:5a27 prefixlen 64 scopeid 0x20<link>
ether 02:2e:a6:66:5a:27 txqueuelen 1000 (Ethernet)
RX packets 14271 bytes 996507 (973.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2746 bytes 314846 (307.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.200.8 netmask 255.255.255.0 broadcast 192.168.200.255
inet6 fe80::9034:56ff:feee:eeee prefixlen 64 scopeid 0x20<link>
ether 92:34:56:ee:ee:ee txqueuelen 1000 (Ethernet)
RX packets 16109 bytes 1066648 (1.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7805 bytes 514801 (502.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.10.10 netmask 255.255.255.255 broadcast 10.255.255.255
ether 92:34:56:ee:ee:ee txqueuelen 1000 (Ethernet)
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 1 (Local Loopback)
RX packets 6 bytes 416 (416.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6 bytes 416 (416.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo:1: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 163.162.35.89 netmask 255.255.255.255
loop txqueuelen 1 (Local Loopback)
---------------------------------------
# birdc show interfaces
BIRD 2.0.2 ready.
lo up (index=1)
MultiAccess AdminUp LinkUp Loopback Ignored MTU=65536
127.0.0.1/8 (Preferred, scope host)
163.162.35.89/32 (scope univ)
::1/128 (Preferred, scope host)
eth0 up (index=2)
MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
163.162.230.198/28 (Preferred, scope univ)
fe80::2e:a6ff:fe66:5a27/64 (Preferred, scope link)
eth1 up (index=3)
MultiAccess Broadcast Multicast AdminUp LinkUp MTU=1500
192.168.200.8/24 (Preferred, scope site)
10.10.10.10/32 (scope site)
fe80::9034:56ff:feee:eeee/64 (Preferred, scope link)
Rr
More information about the Bird-users
mailing list