Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Użytkownik

Witam
Chciałem zmostkować na CentOs7 wirtualny interfejs virbr0 z istniejącym enp1s2 zgodnie z opisem na https://server-world.info/en/note?os=CentOS_7&p=xen niestety po wykonaniu polecenia usuwającego fizyczny interfers i restarcie sieci następuje odcięcie dostępu przez internet na serwerze. Przerobiłem już kilka opisów włącznie z ręcznym ustawianiem parametrów tak jak tutaj https://www.itzgeek.com/how-tos/mini-howtos/create- … 7-rhel-7.htmll interfejsów i ciągle przy końcu konfiguracji rozłącza. Szukam działającego opisu.
To wynik z obecnie funkcjonującego systemu. Niestety w wirt-managerze dostępny mam tylko br10 z komunikatem " br10 pusty mostek"
ifconfig -a | more
[code
br10: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.11.155 netmask 255.255.255.0 broadcast 192.168.11.255
inet6 fe80::419d:9672:4462:f2b9 prefixlen 64 scopeid 0x20<link>
ether 00:00:00:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 128 bytes 3584 (3.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15 bytes 1114 (1.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp1s2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.11.52 netmask 255.255.255.0 broadcast 192.168.11.255
inet6 fe80::cd14:a7e7:df0b:2498 prefixlen 64 scopeid 0x20<link>
ether 00:16:35:37:ab:7b txqueuelen 1000 (Ethernet)
RX packets 42041 bytes 47310609 (45.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22705 bytes 2365080 (2.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17
enp9s1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.11.150 netmask 255.255.255.0 broadcast 192.168.11.255
inet6 fe80::c0b0:e3cf:73c1:f041 prefixlen 64 scopeid 0x20<link>
ether 00:11:95:5f:d0:be txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
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 2 bytes 190 (190.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2 bytes 190 (190.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vif10.0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether fe:ff:ff:ff:ff:ff txqueuelen 32 (Ethernet)
RX packets 164 bytes 4800 (4.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1380 bytes 71760 (70.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:63:21:e4 txqueuelen 1000 (Ethernet)
RX packets 155 bytes 4340 (4.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0-nic: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:63:21:e4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
]Chciałbym zmostkować virbr0 z enp1s2 ale przy takiej konfiguracji jak poniżej nie odpowiada 192.168.11.52
ifcfg-enp1s2
DEVICE=enp1s2 TYPE=Ethernet BOOTPROTO=none ONBOOT=yes NM_CONTROLLED=no BRIDGE=virbr0
ifcfg-virbr0
DEVICE=virbr0 TYPE=Bridge ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=static IPADDR=192.168.11.52 NETMASK=255.255.255.0 GATEWAY=192.168.11.254 DNS1=192.168.11.11 USERCTL=no
Offline
Strony: 1