Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!
I use Mandrake 10.1 but can't connect to internet! I'm in a university LAN. I hava static IP.
I configure from drakconnect but can't connect.
When I use
ifconfig eth0 106.75.xx.xx netmask 255.255.254.0 up it's OK
But when I enter
route add default gw 160.75.97.254
I get the warning
SIOCADDRT: Network is unreachable
Yesterday somehow I did connect when I dealing in Konsole but as you know I lost connection after restart and can't connect again.
Please help mee!!....
I can ping my IP but can't ping gateway. Some people in my LAN are able to connect by doing simple drakconnect settings. Are there any problem with my NIC card? But I can connect for a while, and also I have the same problem with mandrake 9.2. I could connect only once, but mostly disconnected.
I can see sis900 when I "dmesg":
sis900.c: v1.08.07 11/02/2003
eth0: Realtek RTL8201 PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xe000, IRQ 19, 00:0f:ea:22:98:6a.
eth0: Media Link On 100mbps full-duplex
eth0: no IPv6 routers present
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315
Rep:
Please double check your gateway and netmask .. seems to be incosisntent
ifconfig eth0 106.75.xx.xx netmask 255.255.254.0 up it's OK
route add default gw 160.75.97.254
network is unreachable means no path could be found to it
Sorry, it's 160. I wrote wrongly in here, I write correct in console. All addresses are correct there's no problem with Windows.
And there are people who connect to internet in the same Lan with mandrake 10.1. I think I have problem with my nic card. But it makes no sense. I can see it in linuz and receive data. And also i connect to internet two times. But can't obtain a stable connection.
Sorry, it's 160. I wrote wrongly in here, I write correct in console. All addresses are correct there's no problem with Windows.
If windows is on the same comp that your having troubles with, look at the adresses that windows is using. At dos prompt type ipconfig -a
160.75.95.11 255.255.254.0
...means these IP addresses are in your local subnet:
160.75.94.1-160.75.95.254
...your default gateway has to be in that range, this is why you got the error message, "SIOCADDRT: Network is unreachable" when you tried to add that gateway.
So either your IP address is incorrect, or your default gateway is.
Like mysterio suggested, if it's working in Windows then use ipconfig /all (he got the syntax wrong, -a is for linux ifconfig, no big) from a command prompt and compare that to what you set in Mandrake.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.