Linuxiarze.pl Forum

Oprogramowanie => Internet => Wątek zaczęty przez: Grzegorz w Wrzesień 27, 2015, 09:20:01 AM

Tytuł: Adres IP routera
Wiadomość wysłana przez: Grzegorz w Wrzesień 27, 2015, 09:20:01 AM
Witajcie
Mój sprzęt:
System:    Host: manjaro Kernel: 3.18.21-1-MANJARO x86_64 (64 bit gcc: 5.2.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.28)
           Distro: ManjaroLinux 15.09-rc1 Bellatrix

Network:   Card: Qualcomm Atheros AR8131 Gigabit Ethernet
           driver: atl1c v: 1.0.1.1-NAPI port: bf00 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 100 Mbps duplex: full
           mac: 6c:f0:49:52:86:2a
Router :SAGEMCOM WIFI-11n             
Gdzie znajdę adres IP routera? Czy jest to Adres MAC ?
Tytuł: Odp: Adres IP routera
Wiadomość wysłana przez: Grzegorz w Wrzesień 27, 2015, 03:12:55 PM
Ustaliłem:
[grzegorz@manjaro ~]$ su
Hasło:
[root@manjaro grzegorz]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         modem.home      0.0.0.0         UG    100    0        0 enp2s0
192.168.1.0     *               255.255.255.0   U     100    0        0 enp2s0

[root@manjaro grzegorz]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 enp2s0
192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 enp2s0