Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Estes mi /etc/network/interfaces
- iface lo inet loopback
- # Configurar interfaces manualmente, evitando conflictos con, por ejemplo, el administrador de red
- auto enp3s0
- # iface enp3s0 inet dhcp
- iface enp3s0 inet static
- address 192.168.1.140
- broadcast 192.168.0.255
- netmask 255.255.255.0
- gateway 192.168.1.1
- dns-nameservers 8.8.8.8 8.8.4.4
- # Configuración del puente
- auto bt0
- # iface bt0 inet dhcp
- iface bt0 inet static
- bridge_ports enp3s0
- address 192.168.1.143
- broadcast 192.168.1.255
- netmask 255.255.255.0
- gateway 192.168.1.1
- dns-nameservers 8.8.8.8 8.8.4.4
- ==============
- Desde Contenedor a Lan:
- # ping 192.168.1.140
- PING 192.168.1.140 (192.168.1.140) 56(84) bytes of data.
- ^C
- --- 192.168.1.140 ping statistics ---
- 8 packets transmitted, 0 received, 100% packet loss, time 7147ms
- # traceroute 192.168.1.140
- traceroute to 192.168.1.140 (192.168.1.140), 30 hops max, 60 byte packets
- 1 * * *
- 2 * * *
- 3 * * *
- 4 * * *
- .......
- 30 * * *
- # traceroute 192.168.1.160
- traceroute to 192.168.1.160 (192.168.1.160), 30 hops max, 60 byte packets
- 1 * * *
- 2 * * *
- ......
- 30 * * *
- Desde Lan a contenedor:
- $ ping 192.168.1.157
- PING 192.168.1.157 (192.168.1.157): 56 data bytes
- 92 bytes from d9 (192.168.1.160): Destination Host Unreachable
- 92 bytes from d9 (192.168.1.160): Destination Host Unreachable
- 92 bytes from d9 (192.168.1.160): Destination Host Unreachable
- 92 bytes from d9 (192.168.1.160): Destination Host Unreachable
- 92 bytes from d9 (192.168.1.160): Destination Host Unreachable
- 92 bytes from d9 (192.168.1.160): Destination Host Unreachable
- 92 bytes from d9 (192.168.1.160): Destination Host Unreachable
- 92 bytes from d9 (192.168.1.160): Destination Host Unreachable
- ^C--- 192.168.1.157 ping statistics ---
- 10 packets transmitted, 0 packets received, 100% packet loss
- $ traceroute 192.168.1.157
- traceroute to 192.168.1.157 (192.168.1.157), 30 hops max, 60 byte packets^[[F
- 1 d9 (192.168.1.160) 3074.387 ms !H 3074.334 ms !H 3074.319 ms !H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement