linux dhcp question

I'm still trying to understand your setup.

So, I presume you have an ADSL / 3G / iBurst modem, with 4 LAN ports, 1 connects to a Windows PC, and the other one to the Linux machine, right?

I can see you have no route, and the network MASK seems strange. Thus, let's try the following. Take a look @ the IP from the windows machine.

Let's say the IP is 172.16.31.220, and the router is 172.16.31.1 then do the following, as root:

ifconfig eth0 172.16.31.223
route add default gateway 172.16.31.1

Now, try and ping 172.16.31.220 & 172.16.31.1 - see what happens.

Then, try running dhclient eth0, and see what IP address you get
 
SoftDux said:
So, I presume you have an ADSL / 3G / iBurst modem, with 4 LAN ports, 1 connects to a Windows PC, and the other one to the Linux machine, right?
The building I'm in is currently wired for ethernet, so I just jackin the RJ45 and its supposed to have connectivy(which in windows it does)

SoftDux said:
I can see you have no route, and the network MASK seems strange. Thus, let's try the following. Take a look @ the IP from the windows machine.

SoftDux said:
Let's say the IP is 172.16.31.220, and the router is 172.16.31.1 then do the following, as root:

Now, try and ping 172.16.31.220 & 172.16.31.1 - see what happens.

Then, try running dhclient eth0, and see what IP address you get

will let you know
 
That broadcast address doesn't look right, how can your I.P. address and the broadcast address be the same? I think the netmask you're using is incorrect, hence the last address on the subnet is being calculated incorrectly.

fskmh I think you are correct. Another re-install and when configuring the network used subnet mask 255.255.255.0 and now dig, ping are able to work. Tho I am befuddled as to why ipconfig on windows reports 255.255.255.255 as my subnet mask...more brilliance from redmond?

Thank you all who responded. It's been greatly appreciated.
 
Top
Sign up to the MyBroadband newsletter
X