Setting up a home network - can't connect to router
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.
Setting up a home network - can't connect to router
Ok, so I'm setting up a home network, and having a problem. I have a server (which will eventually run apache, sendmail, etc.), and that's hooked up to a cable modem. That works beautifully. On a second NIC (onboard, actually), I have a connection to a router. Another computer also connects to the router. Neither computer seems to be able to ping the router. Nor can I point the browser to 192.168.0.1 from either computer. It times out on the server and gets refused right away on the second desktop. Any help is appreciated. Andrew
Originally posted by michaelk Do you want to configure the server as a gateway/router?
How are the PC's connected to the router? Are you using the router as a switch only?
Are you assigning static IP addresses or DHCP? What are the IP's of each PC?
Sorry, I should have been more clear. Yes, I'm using the server as a router. What I called the router (which is an actual D-Link wireless router), i'm using as a switch (nothing connected to the WAN port). The server is getting a dynamic IP from the cable modem, and has a static IP address of 192.168.0.10 on its second NIC. The router is supposed to come with a preset static IP of 192.168.0.1, and the other computer i have set to a static IP of 192.168.0.2.
1: be sure to use a "computer to hub/switch", ethernet cable.
2: be sure that the IP, 192.168.0.1, for the router is the good one
3: try to reset the configuration of the router
4: a Hub just connect computers cables together, the switchs are more sophisticated, be sure it is not just a hub you have
5: try to ping directly the second computer connected to the router.
6: you will never be able to ping or access the router through a port, if your network, inside both computers, doesn't match the network of the router. (192.168.0.*)
First, If you are sure that's the IP address of the router is good, put a static IP in both computer. Like 192.168.0.2
for the first, and 192.168.0.3 for the second with a netmask of 255.255.255.0 and try again to ping the router. Now the network will match.
Or get the IP through the DHCP server of the router.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.