PDA

View Full Version : Static IP / Routing table problem



devashish
06-20-2007, 03:31 PM
Static IP / Routing table problem

--------------------------------------------------------------------------------

Hi all,
I am connected to a LAN by my isp,
I dont know the exact topography of my LAN but heres my IPCONFIG output on windows XP:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\devashish>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : Home-PC
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
Physical Address. . . . . . . . . : 00-0D-87-11-82-5F
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.1.77.141
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . : 10.1.77.1
DNS Servers . . . . . . . . . . . : 192.168.222.5

C:\Documents and Settings\devashish>

Now when I give the same setup in my linux (KNOPPIX and UBUNTU both) I cannot ping my gateway, following is my routing table in linux

knoppix@Knoppix:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.77.128 0.0.0.0 255.255.255.240 U 0 0 0 eth0

and this is my windows routing table:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\devashish>route PRINT
================================================== =========================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0d 87 11 82 5f ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - P
acket Scheduler Miniport
================================================== =========================
================================================== =========================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.1.77.1 10.1.77.141 20
10.1.77.128 255.255.255.240 10.1.77.141 10.1.77.141 20
10.1.77.141 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.1.77.141 10.1.77.141 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 10.1.77.141 10.1.77.141 20
255.255.255.255 255.255.255.255 10.1.77.141 10.1.77.141 1
Default Gateway: 10.1.77.1
================================================== =========================
Persistent Routes:
None

How can I setup my linux routing table to match my windows routing table. PLEASE PLEASE HELP THIS HELPLESS FEMALE