PC Ekspert Forum

PC Ekspert Forum (https://forum.pcekspert.com/index.php)
-   Mreže (https://forum.pcekspert.com/forumdisplay.php?f=16)
-   -   kako namjestiti route table u XP-u? (https://forum.pcekspert.com/showthread.php?t=142069)

majk 16.03.2009. 17:34

kako namjestiti route table u XP-u?
 
Evo, razijam glavu vec dva dana s ovim:
Situacija je sljedeca:

Internet <---- ADSL Router (WLAN) -------- (WLAN) Komp1 (LAN)-------(LAN) Komp2

Zbog specificnosti mreze bridganje ne dolazi u obzir.
ADSL router je gateway prema internetu (192.168.1.1)

-komp1 ima:
WLAN karticu (192.168.1.32) i default GW 192.168.1.1
LAN karticu 192.168.0.2

-komp2 ima:
LAN karticu 192.168.0.6 i default GW 192.168.0.2

Kako namjestiti routanje da komp2 moze na internet preko WLAN kartice od komp1?

komp1 ima "IProuting" enable u registriju i "Routing and remote acces" service pokrenut.

Sa kompa2 mogu pingati LAN i WLAN interface od komp1 (192.168.1.32) ali ne i router 192.168.1.1.

Sve kombinacije sa "route add" sa probao i nisam uspio namjestiti da radi.

Firewallovi su iskljuceni tako da to nije razlog zasto ne radi.

shimpa 16.03.2009. 18:09

prvo napravi route print molim te

dakle start run cmd - route print

probaj i tracert negdje prema nekoj adresi (recimo probaj tracert-at svoj vanjski interface na routeru) pa nam tu c/p.

majk 16.03.2009. 18:12

evo ako ce to pomoci:

za komp1:
Code:

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 1a 4d 84 c0 fa ...... Realtek RTL8169/8110 Family Gigabit Ethernet NIC
0x30004 ...00 30 4f 6d 98 13 ...... Realtek RTL8185 54M Wireless LAN Network Adapter
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway      Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.32          30
        127.0.0.0        255.0.0.0        127.0.0.1      127.0.0.1          1
      192.168.0.0    255.255.255.0      192.168.0.2    192.168.0.2          20
      192.168.0.2  255.255.255.255        127.0.0.1      127.0.0.1          20
    192.168.0.255  255.255.255.255      192.168.0.2    192.168.0.2          20
      192.168.1.0    255.255.255.0    192.168.1.32    192.168.1.32          30
    192.168.1.32  255.255.255.255        127.0.0.1      127.0.0.1          30
    192.168.1.255  255.255.255.255    192.168.1.32    192.168.1.32          30
        224.0.0.0        240.0.0.0      192.168.0.2    192.168.0.2          20
        224.0.0.0        240.0.0.0    192.168.1.32    192.168.1.32          30
  255.255.255.255  255.255.255.255      192.168.0.2    192.168.0.2          1
  255.255.255.255  255.255.255.255    192.168.1.32    192.168.1.32          1
Default Gateway:      192.168.1.1
===========================================================================
Persistent Routes:
  None

Code:

Ethernet adapter Local Area Connection:



        Connection-specific DNS Suffix  . :

        IP Address. . . . . . . . . . . . : 192.168.0.2

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . :



Ethernet adapter Wireless Network Connection:



        Connection-specific DNS Suffix  . :

        IP Address. . . . . . . . . . . . : 192.168.1.32

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . : 192.168.1.1


za komp2
Code:

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10004 ...00 0a cd 13 58 69 ...... Realtek RTL8139/810x Family Fast Ethernet NIC #7
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway      Interface  Metric
          0.0.0.0          0.0.0.0      192.168.0.2    192.168.0.6          2
        127.0.0.0        255.0.0.0        127.0.0.1      127.0.0.1          1
      192.168.0.0    255.255.255.0      192.168.0.6    192.168.0.6          2
      192.168.0.6  255.255.255.255        127.0.0.1      127.0.0.1          2
    192.168.0.255  255.255.255.255      192.168.0.6    192.168.0.6          2
        224.0.0.0        240.0.0.0      192.168.0.6    192.168.0.6          2
  255.255.255.255  255.255.255.255      192.168.0.6    192.168.0.6          1
Default Gateway:      192.168.0.2
===========================================================================
Persistent Routes:
  None


Code:

Ethernet adapter Local Area Connection:



        Connection-specific DNS Suffix  . :

        IP Address. . . . . . . . . . . . : 192.168.0.6

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . : 192.168.0.2

Traceroute prolazi direktno na router sa kompa1, sa kompa 2 ne prolazi

shimpa 17.03.2009. 17:10

ok

sve se čini ok, odi u registry editor i odi na

HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

onda pod : "IPEnableRouter" , kojemu je inače vrijednost 0 stavi 1

reboot

probaj sad


Sva vremena su GMT +2. Sada je 02:53.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 1999-2024 PC Ekspert - Sva prava pridržana ISSN 1334-2940
Ad Management by RedTyger