connection problems

Pete bubak at frdb1.fri.utc.sk
Thu Mar 13 07:53:52 CET 2003


On Wed, Mar 12, 2003 at 07:13:40PM +0100, Leo Galambos wrote:
> On Wed, 12 Mar 2003, Pete wrote:
> 
> > preco? ja si predstavujem dve siete, s maskami /24, pricom router pc4
> > vie, ze vsetko iduce od 192.169.1.0 ma poslat na 192.168.100.111 A preto
> > aj pingy z masin v lokalke funguju, alebo sa mylim?
> 
> aha, to jsem se asi unahlil (resp. z toho popisu jsem to nejdriv
> nepochopil spravne). IMHO chyba je v routovacich tabulkach, ktere pokud
> neuvidime, tak se reseni tezko najde.
> 
> -g-
A> 
nie je mi jasne...routovanie je na 3tej vrstve osi, na IP, ked prejdu icmp pakety medzi 2 hostami, to znamena ze je to OK, ci nie?

tu su tabulky (alebo aspon casti)

na pc1 (tom, ktore je problematicke):
ip 192.168.1.2 ppp-> 192.168.1.1
routes:
192.168.1.1	*	255.255.255.255	UH	40	0	0	sl0
127.0.0.0/8......
default 192.168.1.1	0.0.0.0 	ug	40	0	0	sl0

pc2 - router medzi serial a LAN - ip 192.168.100.111/192.168.1.1
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.100.1      UGSc        1       51    xl0
localhost          localhost          UH          0       35    lo0
192.168.1          sl0                USc         0        1    sl0
192.168.1.2        192.168.1.1        UH          2      360    sl0
192.168.100        link#1             UC          8        0    xl0

pc3 - nepodstatne ;-) pc v LAN, na ktore som sa tiez skusil telnet/ssh
	- ip 192.168.100.112
(predpokladam, ze route pre 192.168.1.1,.2 boli pridane automaticky, inak pre ziadny z hostov neudavam routes dane priamo mac adresou, ktore sa taktiez pridavaju automaticky)
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.100.1      UGSc       17      441    xl0
localhost          localhost          UH          0        0    lo0
192.168.1.1        192.168.100.111    UGHD        0        2    xl0
192.168.1.2        192.168.100.111    UGHD        0       41    xl0
192.168.100        link#1             UC          6        0    xl0

pc4 - router
XL0 - IP1 - DMZ - link #1
EX0 - IP2 - Inet - link #4
XL1 - 192.168.100.1 - LAN - link #2
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            my.inet.gw	      UGSc       14  1038806    ex0
localhost          localhost          UH          0      136    lo0
192.168.1          192.168.100.111    UGSc        1      412    xl1
192.168.100        link#2             UC         33      415    xl1
DMZ/netmask        link#1             UC          1        0    xl0
Inet/netmask       link#4             UC          2        0    ex0


Pokial to niekto kukne a napise, vopred moc dakujem
pete



More information about the Users-l mailing list