problem se static_route
Cizek Milan
cizek.milan at seznam.cz
Sun May 9 19:01:55 CEST 2004
Ahoj,
uz si zase vazne nevim rady... mam 2 BSD stroje:
BSD1:
- vr0 (10.0.4.1/24)
- rc.conf:
static_routes="net2 net3"
route_net2="10.0.2.0/24 -iface vr0"
route_net3="10.0.3.0/24 -iface vr0"
- netstat -rn
Destination Gateway Flags Refs Use Netif Expire
10.0.2/24 link#3 UCSc 0 0 vr0
10.0.3/24 link#3 UCSc 2 0 vr0
10.0.4/24 link#3 UC 0 0 vr0
127.0.0.1 127.0.0.1 UH 0 0 lo0
212.158.158.236/30 link#1 UC 0 0 ed0
BSD2:
- xl0 (10.0.3.1/24)
- wi2 (10.0.2.1/24)
- rc.conf:
static_routes="net4"
route_net4="-net 10.0.4.1/24 -iface xl0"
- netstat -rn
Destination Gateway Flags Refs Use Netif Expire
default 81.2.200.1 UGSc 162 41298 wi0
10.0.1/24 link#2 UC 9 0 wi1
10.0.2/24 link#3 UC 0 0 wi2
10.0.3/24 link#4 UC 3 0 xl0
10.0.4/24 link#4 UCSc 1 0 xl0
81.2.200/27 link#1 UC 1 0 wi0
Z BSD2 v pohode pinknu na 10.0.4.1. Z BSD1 rovnez funguje ping na 10.0.3.1,
nicmene nefunguje ping na 10.0.2.1. :( Jeste dodam ze oba stroje (vr0+xl0)
jsou zapojene do stejneho switche (testovaci zapojeni). Muzete mi nekdo
PROSIM poradit, proc mi to nefunguje? Uz jsem se dovedel, ze tohle reseni
neni zrovna nejlepsi, nicmene to potrebuji alespon nejak propojit (a co
nejrychleji). Dekuji.
Milan Cizek (networking lama)
More information about the Users-l
mailing list