I have two frustrating, possibly related problems with internet access and my internal network. I have a desktop and laptop connected by an internal network with internet access by an adsl modem connected to the desktop. For the most part this works fine except: 1) On startup of the desktop, both cards seem to be logically connected to the adsl modem. The internal network doesn't work (I can't ping the laptop from the desktop or vice-versa.) The only way I've found around this is to temporarily disable the network card attached to the modem with ifconfig. I can then ping the laptop, and still can after re-enabling the modem connected card. This generally works fine once started, and thanks to the basic stability I don't have to reboot too often, but it would be nice to have the system come up correctly. 2) I can access almost everything on the web except addresses which start with 192.x.x.x. I'm using 192.168.1.1/2 for the internal network, which is one of the recommended private address groups. I noticed an occasional site which I couldn't access, and finally found that all of them started with 192. The most recent example is the Sun site (192.18.97.241) where I wanted to get the latest Staroffice. Any hints for either or both problems greatly appreciated! Bernie w1az@arrl.net
Hi Answer to Your second question, here is a table of adress space: ----------------------------------------------------------- | PRIVATE NETWORK ALLOCATIONS | ----------------------------------------------------------- | Network | Netmask | Network Addresses | | Class | | | ----------------------------------------------------------- | A | 255.0.0.0 | 10.0.0.0 - 10.255.255.255 | | B | 255.255.0.0 | 172.16.0.0 - 172.31.255.255 | | C | 255.255.255.0 | 192.168.0.0 - 192.168.255.255 | ----------------------------------------------------------- So, Your netmask should be 255.255.255.0 when using C-class address space (192.168.xxx.xxx). Set the mask to 255.255.255.0 for LAN, and then You get access to everything in net. Run the "route" command, it should say: For local route should be "192.168.0.0 netmask 255.255.255.0 dev xxxx" For ADSL route should be "default gw <ip-of-adsl> genmask 0.0.0.0 dev xxxxx" I believe that the answer to the first question might be the same... Jaska. Viestissä Maanantai 8. Lokakuuta 2001 02:17, Bernie Gardner kirjoitti:
I have two frustrating, possibly related problems with internet access and my internal network. I have a desktop and laptop connected by an internal network with internet access by an adsl modem connected to the desktop. For the most part this works fine except:
1) On startup of the desktop, both cards seem to be logically connected to the adsl modem. The internal network doesn't work (I can't ping the laptop from the desktop or vice-versa.) The only way I've found around this is to temporarily disable the network card attached to the modem with ifconfig. I can then ping the laptop, and still can after re-enabling the modem connected card. This generally works fine once started, and thanks to the basic stability I don't have to reboot too often, but it would be nice to have the system come up correctly.
2) I can access almost everything on the web except addresses which start with 192.x.x.x. I'm using 192.168.1.1/2 for the internal network, which is one of the recommended private address groups. I noticed an occasional site which I couldn't access, and finally found that all of them started with 192. The most recent example is the Sun site (192.18.97.241) where I wanted to get the latest Staroffice.
Any hints for either or both problems greatly appreciated!
Bernie
w1az@arrl.net
participants (2)
-
Bernie Gardner
-
Jaakko Tamminen