ip gateway dhcp
Inviato: giovedì 15 marzo 2007, 19:52
Ciao, mi sembra una domanda stupida, ma non riesco a trovare il modo per conoscere l'ip del gateway quando mi collego in una rete con dhcp.
grazie!
grazie!
Il forum della comunità italiana di Ubuntu.
https://forum.ubuntu-it.org/
Codice: Seleziona tutto
ifconfigCodice: Seleziona tutto
route -nsimone@kubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
simone@kubuntu:~$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:320 (320.0 b) TX bytes:320 (320.0 b)
wlan0 Link encap:Ethernet HWaddr 00:60:B3:D2:10:0E
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:482916 errors:24109 dropped:0 overruns:0 frame:0
TX packets:391254 errors:34 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:480555820 (458.2 MiB) TX bytes:209645980 (199.9 MiB)
Interrupt:19