default gw v debianu
Martin Duda
duda na lib.cas.cz
Pátek Leden 11 10:16:06 CET 2008
nejak mi tam nesedi ta maska...nebo se pletu?
mardon napsal(a):
> stale mi to nefuguje
>
> intefaces:
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
> address 10.0.0.3
> netmask 225.255.254.0
> broadcast 10.0.1.255
> gateway 10.0.0.2
>
>
>
> Směrovací tabulka v jádru pro IP
> Adresát Brána Maska Přízn Metrik Odkaz
> Užt Rozhraní
> 10.0.0.0 * 255.0.0.0 U 0 0
> 0 eth0
> default r1meuvalmez.in. 0.0.0.0 UG 0 0
> 0 eth0
>
>
> udelam li /etc/init.d/networking restart je vypis route stejny
> po rebootu PC ovsem dostanu route
>
> Směrovací tabulka v jádru pro IP
> Adresát Brána Maska Přízn Metrik Odkaz
> Užt Rozhraní
> 10.0.0.0 * 255.0.0.0 U 0 0
> 0 eth0
> debian:~#
>
>
> pokud pridam do interfaces auto eth0 dostanu
>
> debian:~# /etc/init.d/networking restart
> Reconfiguring network interfaces...SIOCSIFNETMASK: Invalid argument
> Failed to bring up eth0.
> done.
> debian:~#
>
> nevim proc se mi do route doplnuje ta adresa 10.0.0.0
>
Další informace o konferenci Linux