Linux IP addressing Problem


 
Thread Tools Search this Thread
Operating Systems Linux Linux IP addressing Problem
# 1  
Old 08-31-2004
Linux IP addressing Problem

hello,

we are having a LAN of about 100 nodes each installed with windows 2000. the default gateway ip address of each system has been assigned the IP of a personal router which connects us to the internet. and offcourse there are a few DNS address also. the ip address range from 192.168.1.1 to 192.168.1.100

the problem is that i have installed redhat linux 9 on a node with windows 2000 in dual boot. when i assigned the above stated ip address to the redhat linux system (i.e 192.168.1.68) with all the other settings as shown above , the internet does not work at all. Linux operating system pings all the local hosts but does not ping any website on internet which is rather done by windows operating system.
but when i give IP address 192.168.0.1 to the Linux operating system the internet works and it pings all the websites on the internet.i want that the linux operating system also works properly on with designed IP address. i am very confused and not getting it why is it happening so.

Thanks in advance for any help.
# 2  
Old 08-31-2004
What is your NETMASK?
# 3  
Old 08-31-2004
What have you got for your default gateway?

You'll need to run a command such as
Code:
route add default gw ip_addr

where ip_addr is the IP address of the internet gateway.

yahoo.com returns ICMP packets, so try pinging it to verify that you have a route out to the 'net

cheers
ZB
# 4  
Old 09-01-2004
yeah the netmask is 255.255.255.0 and the default gateway IP address is assigned to in the network setup (192.168.0.250).
# 5  
Old 09-01-2004
This looks like it could be because 192.168.0.xxx and 192.168.1.xxx are on different networks (in terms of IP addresses) - this is why when you set the IP of the Linux box to 192.168.0.1 it works, but as 192.168.1.xxx it doesn't - the gateways IP address is 192.168.0.250, hence it's on the 192.168.0 network.

You could install a machine with two NICs as a gateway between the 192.168.0 and 192.168.1 networks. Else, if you can change the IP of either the gateway or the Linux box so they're on the same network, that'll do.

Cheers
ZB
# 6  
Old 09-01-2004
thanks i will definitely try this!!!!!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

32 bit process addressing more than 4GB

Hello for all, I am testing the behavior of a 32 bit application running on Solaris 5.10 (SPARC), and realize it reaches 4GB of memory and then crashes. It doesn't matter the amount of used memory as application is intended to perform many transactions; rather, what I want to achieve is to... (2 Replies)
Discussion started by: Leito7824
2 Replies

2. IP Networking

Addressing question

This is probably a stupid question but I am finding a tricky issue on my Solaris machines right now. I changed the hostname for my servers as requested by my superior. I had one server that lost it's entire network configuration when I rebooted. I reconfigured it with it's address and I can... (2 Replies)
Discussion started by: lnxjenn
2 Replies

3. Programming

Memory addressing question

Forgive me if this sounds like a newbie question. Any time you obtain a stack address from a pointer, what is this relative to by default? Is it the extra segment, the stack segment, what? How do you change change the relative positioning in memory? Thanks in advance (1 Reply)
Discussion started by: stevenswj
1 Replies

4. What is on Your Mind?

Electronic Mail Addressing

"A Directory of Electronic Mail Addressing & Networks" by Donnalyn Frey and Rick Adams (O'Reilly & Associates, 1993), Xerox Grapevine, DECNET. The book tells about lots of different ways to present an email address. What i know of are Internet (user@host), UUCP (host!user) and DECNET (host::user)... (2 Replies)
Discussion started by: Action
2 Replies

5. Shell Programming and Scripting

addressing variable content...

I want to address a variable content whose name is/matches the content of a given other variable. i.e. set name=´sam´ set ${name}_age=´27´ So, by typing: echo ${name}_age I correctly obtain: sam_age By typing: echo $sam_age or echo ${sam_age} I correctly obtain: 27 But how can I... (3 Replies)
Discussion started by: sobolev
3 Replies

6. HP-UX

scsi floppy drive addressing

Does anyone know of a site that documents the various addressing schemes used with SCSI floppy disk drives? (5 Replies)
Discussion started by: Drew_Harrison
5 Replies

7. IP Networking

Dual IP addressing

I have a Unix application server with an internet IP address on it for a gateway and a Unix web server with the Internet IP as well configured for its gateway. Now the problem I have is this: due to these gateways, the application server can't communicate with our internal LAN. Therefore, it... (2 Replies)
Discussion started by: Ronny
2 Replies

8. IP Networking

IP Addressing with Digital Unix

I'm trying to set up an IP address on a Digital Unix box. I would like to know the commands in order to do so. thanks (5 Replies)
Discussion started by: lavelyj
5 Replies

9. Programming

Addressing UDP datagrams in UNIX

I am having troble to send a UNIX datagram to a NT machine. I didn`t realize yet how to define the destination address on the sendto() function call.Simply writing "xxx.zz.yy.pp" for the IP and xxxx for the socket doesn´t work!!! Can anyone help me with that? Thanks (4 Replies)
Discussion started by: psilva
4 Replies
Login or Register to Ask a Question