PDA

View Full Version : help with static ip


agentblue
2005-06-28, 11:18 PM CDT
hello all if i set any interface to a static ip it grabs the network specific address but i cant access the internet in any way. im behind a router so i am talking about a network specific static ip. do i have to tell it my dns hosts somewhere.? why cant i access the internet with a static ip?

brianmsu80
2005-06-28, 11:25 PM CDT
How is it "network specific static ip" by MAC address/port . . . more detail?

Can you ping the DNS hosts, the gateway, the router, other IP's on same subnet?

agentblue
2005-06-28, 11:29 PM CDT
network address 192.168.1.100 etc

agentblue
2005-06-28, 11:32 PM CDT
no i cant ping the dns hosts or the gateway and yes they are on the same subnet
i did

ifconfig eth0 192.168.1.100 broadcast 192.168.1.255 netmask255.255.255.0 up

route add default gw 192.168.1.1