On Saturday 29 June 2002 21:31, N1UAN Bob wrote:
Hi have an ? about two ethernet cards as i just got the other day an cable modem setup here and now the ethernet card in that machine is use for the cable modem so i guess i need to add another card to that machine so it can talk to the other card in the other box so the second card in this box will be eth1 if i am right and the one card in the other box eth0 so am i right when i say the routing will be the same just that the one from eth0 will now point to eth1 instaed of the eth0 it use to be before it became in use by the cable modem am i right in my thinking before i go and try this thanks in advance Bob
The first card is eth0, then eth1, eth2 etc. Routing is used to point to the box that can send packets on beyond you (local) network. Lets say we have an internet IP which is 24.24.24.24. This address is held by your first NIC (network interface card). The internal NIC (eth1) should have NAT (network address table used to have many machines behind one IP, safely) turned on, and could be 10.10.10.1. Each of your machines then would be on the 10.10.10.0 network. (.1 .2 .3 etc.) You can have normal addresses on your internal network but it's not a good idea as it would stop you form being able to go to the real address and could let others in. To handle this there are three IP ranges with non routable addresses. They were made as a class A, B and a class C network. Each starting at 10.0.0.0, 172.16.0.0, 192.168.0.0.) If you sit on 10.10.10.2 and need to get to the Internet you would have to know who can help you. This would be the gateway 10.10.10.1. He knows to route it to your ISP's gateway, let's say 24.24.24.1. Who in it's turn knows who can route it onwards. Same goes for DNS, it needs to know who knows more than you do so it can forward requests there. There are fine HOWTO's on this just look in your howto directory. -- Steve _____________________________________________________________ HTML in e-mail is not safe. It let's spammers know to spam you, and sets you up for online attack through IE 4.5 and above. Using HTML in e-mail promotes it as safe to the uninitiated.