Visit Our UNIX and Linux User Community


basic networking


 
Thread Tools Search this Thread
Special Forums IP Networking basic networking
# 8  
Old 04-04-2002
Java

1. the crossover cable MUST be connected directly from NIC to NIC

2. when you connect to your ISP (when you dial out) you might receive a DHCP address (which is not 192.168.x.x).
*solution* from Linux- give your NIC a static IP address using the ifconfig command (192.168.0.1)
from Windows- give it a static IP of 192.168.0.2 FOR THE NIC THAT IS CONNECTED TO THE CROSSOVER

3. you don't need DNS addresses or gateway address for this configuration

4. Understand that if you give these machines these addresses, you will not be able to connect to the internet AT ALL

5. I don't think you actually connected to your ISP when you launched Netscape (i think it was just the dial-tone that fooled ya')

6. try pinging YOUR OWN IP. (i.e. if your at your Linux box, ping 192.168.0.1) if that times out, you have a hardware problem most likely.

7. when both machines can ping eachother, you might be able to telnet to Linux: if not, check out RedHat's website and find configuring telnet RedHat 7.2

8. good luck and post againSmilie
# 9  
Old 04-14-2002
Network diagnostic starts from lower layers to upper layers.
1. Ckeck connectivity [is there link between your computers]?
2. Check data link layer [C:\arp -a on win32 or # arp -a -n on .nix/linux]
3. Check network layer [ping remote_computer] - is there "network unreachable"? "request timeout"? is there a firewall active on any of these computers? Some people says that RH7.2 comes with the firewall enabled by default
Good luck!
# 10  
Old 04-17-2002
yeah if you're running them peer then you don't need a gateway this is problem where your problem lies because the information is being sent to a gateway address that doesn't exist
ip address and the subnet mask should be all you need for these two computers to comm.
if you're gonna use a gateway address the you need a gateway like a router or another box with two nics
# 11  
Old 04-17-2002
PLease forgive me if someone has already said this....

easyiest way (in my opinion)

Hook your modem to your Windows box (if it's 2k enable internet sharing)

In the TCP/IP properties
set IP 192.168.240.1 (or something)
mask 255.255.255.0
thanks it.

On your linix box useing a crossover cable (from one NIC to another)
Set IP 192.168.240.2
mask 255.255.255.0
default gateway 192.168.240.1

That should get the boxes seeing each other. All you should need to do from there is assign DNS for the Linux box to have internet access.

Previous Thread | Next Thread
Test Your Knowledge in Computers #815
Difficulty: Medium
In CSS, E[foo] matches an E element with a 'foo' class name.
True or False?

8 More Discussions You Might Find Interesting

1. IP Networking

Networking

hi From mt windows machine I can ping a LINUX machine but there is no arp entry for the same LINUX on my windows. How is it possible and what can I do to add the arp entry as I need it. thanks (1 Reply)
Discussion started by: leghorn
1 Replies

2. IP Networking

Basic networking question

Hii, Today morning I attended an interview, they had showed me the attached image and had few questions about that. The image shows a network with 4 nodes viz.. A B C & D and two switches(layer2) and a router(layer3). Just wanted to know can node A and node D would be on same network e.g... (4 Replies)
Discussion started by: zing_foru
4 Replies

3. IP Networking

Basic networking please help

I am running Ubuntu Desktop and Ubuntu Server editions on two separate VMs. For the desktop I have set network adapters: Adapter 1: internal network called intnet Adapter 2: NAT Server: Adapter 1: internal network called intnet Now I'm suppose to set ip addresses which I'm pretty sure... (5 Replies)
Discussion started by: shadowcat
5 Replies

4. IP Networking

Networking

Hi, I have a question on networking. I will try to ask with an example... Suppose i am googling something, as in searching something in the google page. In this case what I basically want to know is, does the client do a connect evrytime to the server whenever a search is done in google,... (1 Reply)
Discussion started by: naan
1 Replies

5. IP Networking

C networking

Can anybody help me regarding networking using c language i know how to capture the packets and to verify it`s protocol destination and source ip etc. Can anybody help me to direct a packet coming to an ip to some other ip of my choice ........ Hope reply ... (0 Replies)
Discussion started by: Sannair
0 Replies

6. UNIX for Advanced & Expert Users

how ..........networking

hi everyone this is dipendra, i am interested in networking,i know simple socket programming . and now i am wonder to get in to audio socket. i have no clue how to build audio socket.so i am looking if u can provide me a link regarding the audio socket building tutorials. (1 Reply)
Discussion started by: dipendra_regmi
1 Replies

7. UNIX for Dummies Questions & Answers

Basic networking setup in unix

I have a SunOS 5.8 box and have always downloaded & applied patches via my PC, but I want to be able to go out to sunsolve directly from the console ... however, I guess it doesn't know the IP of our domain's DNS server or something. Where are these setting held on a Sun box??? (1 Reply)
Discussion started by: FredSmith
1 Replies

8. Slackware

Basic networking questions.

Hey, I'm new to Linux. I have a few questions about it. I run Slackware. After the installation the Linux installation had problems with my old hardware (network card, sound card) so I removed them and Linux would start. But now, I can't seem to use the network card in Linux because it's not... (3 Replies)
Discussion started by: RellioN
3 Replies

Featured Tech Videos