Group: Member
Post Group: Newbie
Posts: 14
Status:
|
[root@master ~]# brctl show
bridge name bridge id STP enabled interfaces
viifbr0 8000.00155d00b50f no eth0
viifv1001
[root@master ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 viifbr0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 viifbr0
[root@master ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default _gateway 0.0.0.0 UG 0 0 0 viifbr0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 viifbr0
[root@master ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::215:5dff:fe00:b50f prefixlen 64 scopeid 0x20<link>
ether 00:15:5d:00:b5:0f txqueuelen 1000 (Ethernet)
RX packets 2300 bytes 640689 (625.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1527 bytes 380852 (371.9 KiB)
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 1000 (Local Loopback)
RX packets 15 bytes 1653 (1.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15 bytes 1653 (1.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
viifbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.135 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::8851:85ff:fe27:c20b prefixlen 64 scopeid 0x20<link>
ether 00:15:5d:00:b5:0f txqueuelen 1000 (Ethernet)
RX packets 1898 bytes 450759 (440.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1512 bytes 380454 (371.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
viifv1001: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc16:3eff:feba:7370 prefixlen 64 scopeid 0x20<link>
ether fe:16:3e:ba:73:70 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1 bytes 110 (110.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@master ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master viifbr0 state UP group default qlen 1000
link/ether 00:15:5d:00:b5:0f brd ff:ff:ff:ff:ff:ff
inet6 fe80::215:5dff:fe00:b50f/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: viifbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:15:5d:00:b5:0f brd ff:ff:ff:ff:ff:ff
inet 192.168.0.135/24 brd 192.168.0.255 scope global viifbr0
valid_lft forever preferred_lft forever
inet6 fe80::8851:85ff:fe27:c20b/64 scope link
valid_lft forever preferred_lft forever
4: viifv1001: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master viifbr0 state UNKNOWN group default qlen 1000
link/ether fe:16:3e:ba:73:70 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fc16:3eff:feba:7370/64 scope link
valid_lft forever preferred_lft forever
---------------------------------------------------------------------------------------------
ssh to vps but without wan just lan
----------------------------------->
root@192.168.0.122's password:
Last login: Tue Apr 25 09:29:46 2023
[root@dns1 ~]# ping google.com
ping: google.com: Nombre o servicio desconocido
[root@dns1 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.122 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::216:3eff:feba:7370 prefixlen 64 scopeid 0x20<link>
ether 00:16:3e:ba:73:70 txqueuelen 1000 (Ethernet)
RX packets 144 bytes 16190 (15.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 163 bytes 13820 (13.4 KiB)
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 1000 (Local Loopback)
RX packets 76 bytes 7656 (7.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 76 bytes 7656 (7.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@dns1 ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:16:3e:ba:73:70 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.122/24 brd 192.168.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::216:3eff:feba:7370/64 scope link
valid_lft forever preferred_lft forever
[root@dns1 ~]#
|