user@home:~$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface #carte réseau branchée sur le modem, fonctionne très bien allow-hotplug enxe46... #iface enxe46... inet dhcp iface enxe46... inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 iface dsl-provider inet ppp pre-up /bin/ip link set enxe46... up # line maintained by pppoeconf provider dsl-provider #carte réseau secondaire allow-hotplug enx00... iface enx00... inet static address 192.168.2.10 netmask 255.255.255.0 user@home:~$ ffplay udp://239.255.42.42:5004 (blabla ffplay puis plus rien) root@home:/home/user# ifconfig enx00...: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.2.10 netmask 255.255.255.0 broadcast 192.168.2.255 inet6 ... prefixlen 64 scopeid 0x20<link> ether 00:e... txqueuelen 1000 (Ethernet) RX packets 60899 bytes 80484231 (76.7 MiB) RX errors 3445 dropped 422 overruns 404 frame 4256 TX packets 3 bytes 282 (282.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 enxe46...: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 ... prefixlen 64 scopeid 0x20<link> ether e4:... txqueuelen 1000 (Ethernet) RX packets 67464 bytes 63374837 (60.4 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 36092 bytes 3984913 (3.8 MiB) 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 (Lokale Schleife) RX packets 280 bytes 14000 (13.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 280 bytes 14000 (13.6 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492 inet ... netmask 255.255.255.255 destination ... ppp txqueuelen 3 (Punkt-zu-Punkt-Verbindung) RX packets 67184 bytes 62687768 (59.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 35889 bytes 2899666 (2.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 #machines virtuelles / KVM je pense inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255 ether 52:... txqueuelen 1000 (Ethernet) RX packets 33294 bytes 2553975 (2.4 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 54448 bytes 61059523 (58.2 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@home:/home/user# iptables --list Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- anywhere anywhere udp dpt:domain ACCEPT tcp -- anywhere anywhere tcp dpt:domain ACCEPT udp -- anywhere anywhere udp dpt:bootps ACCEPT tcp -- anywhere anywhere tcp dpt:bootps wall all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere 192.168.122.0/24 ctstate RELATED,ESTABLISHED ACCEPT all -- 192.168.122.0/24 anywhere ACCEPT all -- anywhere anywhere REJECT all -- anywhere anywhere reject-with icmp-port-unreachable REJECT all -- anywhere anywhere reject-with icmp-port-unreachable wall all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- anywhere anywhere udp dpt:bootpc Chain wall (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT all -- anywhere anywhere state NEW DROP all -- anywhere anywhere
|