#router print
Route Table =================================================== Interface List 0x1 ........................... MS TCP Loopback interface 0x2 ...00 11 43 64 59 3e ...... Broadcom 570x Gigabit Integrated Controller - ..:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />Packet Scheduler Miniport 0x10004 ...00 0c f1 56 98 ad ...... Intel(R) PRO/Wireless LAN 2100 3A Mini PCI Adapter - Packet Scheduler Miniport =================================================== =================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 30 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.1.0 255.255.255.0 192.168.1.100 192.168.1.100 30 192.168.1.100 255.255.255.255 127.0.0.1 127.0.0.1 30 192.168.1.255 255.255.255.255 192.168.1.100 192.168.1.100 30 224.0.0.0 240.0.0.0 192.168.1.100 192.168.1.100 30 255.255.255.255 255.255.255.255 192.168.1.100 2 1 255.255.255.255 255.255.255.255 192.168.1.100 192.168.1.100 1 Default Gateway: 192.168.1.1 =================================================== Persistent Routes: None
Step by step on how to setup pc based router to connect 2 different networks:
- set static IP address pada 2 NIC –(klu 3 segmen pun sama gak step)–address segment lain2..klu segmen sama takyahlah pakai router(default gateway tak payah letak)
- Add routing table(klu dah terset, x yah set lg. cek dulu kat routing table)
# route add 192.168.2.0 mask 255.255.255.0 192.168.2.2 if 0x2
# route add 192.168.1.0 mask 255.255.255.0 192.168.1.2 if 0x3 - set la IP kat client
- Enable Ip forwarding in Microsoft xp service pack 2
1.control panel
2. administrative tools
3. services
4.enable routing and remote access properties (local network)-start
No comments:
Post a Comment