04-18-2017, 07:16 PM
Hello!
route -n
root@n450:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 enp0s25
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s25
192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 enp0s25
root@n450:~#
ifconfig
root@n450:~# ifconfig
enp0s25 Link encap:Ethernet HWaddr 00:0B:AB:34:B6:46
inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:abff:fe34:b646/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9108 errors:0 dropped:1681 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:693967 (677.7 KiB) TX bytes:29058 (28.3 KiB)
Interrupt:23 Memory:feac0000-feae0000
enp3s0 Link encap:Ethernet HWaddr 00:0B:AB:34:B6:47
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:abff:fe34:b647/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2841 errors:0 dropped:0 overruns:0 frame:0
TX packets:4245 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:193834 (189.2 KiB) TX bytes:292749 (285.8 KiB)
Interrupt:16 Memory:febe0000-fec00000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1888 errors:0 dropped:0 overruns:0 frame:0
TX packets:1888 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:196542 (191.9 KiB) TX bytes:196542 (191.9 KiB)
root@n450:~#
Ton routeur servant de gateway est bien en 192.168.0.1 ?
oui
Il sert bien de DNS également ?
oui
Merci pour le coup de main! ;o)
Flykri
route -n
root@n450:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 enp0s25
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 enp0s25
192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 enp0s25
root@n450:~#
ifconfig
root@n450:~# ifconfig
enp0s25 Link encap:Ethernet HWaddr 00:0B:AB:34:B6:46
inet addr:192.168.0.20 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:abff:fe34:b646/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9108 errors:0 dropped:1681 overruns:0 frame:0
TX packets:264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:693967 (677.7 KiB) TX bytes:29058 (28.3 KiB)
Interrupt:23 Memory:feac0000-feae0000
enp3s0 Link encap:Ethernet HWaddr 00:0B:AB:34:B6:47
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:abff:fe34:b647/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2841 errors:0 dropped:0 overruns:0 frame:0
TX packets:4245 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:193834 (189.2 KiB) TX bytes:292749 (285.8 KiB)
Interrupt:16 Memory:febe0000-fec00000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1888 errors:0 dropped:0 overruns:0 frame:0
TX packets:1888 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:196542 (191.9 KiB) TX bytes:196542 (191.9 KiB)
root@n450:~#
Ton routeur servant de gateway est bien en 192.168.0.1 ?
oui
Il sert bien de DNS également ?
oui
Merci pour le coup de main! ;o)
Flykri