Skip to main content

internet acces

More
20 years 2 months ago #5509 by xavier23
internet acces was created by xavier23
Hy everybody!! :) I'm in a lan with IP's like this : 10.10.10.xxx Mask 255.255.255.0. I can connect to the network, i can use ping, nmap...
My problem is that when I try to add gw it sais NETWORK IS UNREACHABLE! I have an external IP : 80.96.157.xxx Mask 255.255.255.240 I can't make it work! I can't connect to the internet. And another thing: how do i calculate the Bcast Address?? :(( any help please? I have RH 8

Behind every grate computer sits a skiny litle geek
More
20 years 2 months ago #5511 by nske
Replied by nske on topic Re: internet acces
Hi xavier23,

Could you provide us with some more information about your internet connection, do you connect through a dsl router i.e. ?

In such a case you will need to assign to your pc an IP address in the same subnet with the IP address of the internal interface of the router and set it as your default gateway, [code:1]route add default gw x.x.x.x[/code:1].

As for the broadcast address, it will be the last IP of your subnet. You can read the excelent tutorials here about subneting. Also check a practical calculator online service, here
More
20 years 2 months ago #5513 by xavier23
Replied by xavier23 on topic Re: internet acces
I'll have to ask my admin -- on how do i connect. The IP that he gave me(80.96.234.xxx with 255.255.255.240) is the one i'm using with winXP. He doesn't know linux so he will not be much help. Thanks for the nice answere.

Behind every grate computer sits a skiny litle geek
More
20 years 2 months ago #5591 by xavier23
Replied by xavier23 on topic Re: internet acces
Sorry for posting so late, but i waited to get Mandrakelinux 10.0 from a friend. I installed it and it sais the same thing. I connect through a router -- linux crux. if u want more details please be more specific cause I don't know what u need to know

Thanks again for answering, and one more time sorry for the delay

Behind every grate computer sits a skiny litle geek
More
20 years 2 months ago #5595 by nske
Replied by nske on topic Re: internet acces
Your gateway should be on the same subnet with your address. If you ask your administrator, he should provide you with a static IP address on the internal network that you should use, a subnet mask and the local gateway. If these information are valid, you should not see that message. Alternativelly, your administrator may tell you to get these information from DCHP, in which case you should set up a DCHP client in your pc which is simple. ;)
More
20 years 2 months ago #5604 by xavier23
Replied by xavier23 on topic THANKS
Hey, I got it working like this :

[code:1]
route add -host 80.96.xxx.xxx dev eth0
route add default gw 80.96.xxx.xxx
[/code:1]
where 80.96.xxx.xxx --> is the gw

But i have another question : How do I make the eth0 interface to start automaticaly at startup? I want to do it from command line .

Behind every grate computer sits a skiny litle geek
Time to create page: 0.138 seconds