routing problem...im missing something

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat routing problem...im missing something
# 1  
Old 03-09-2011
routing problem...im missing something

hi,

having an issue on a class C network with trying to get a redhat diskless setup going. I am using oracle enterprise 5, which is RHEL 5.3 i believe.

here is the scenario:
sun sparc m4k that i am planning on making the red hat boxes boot off after i get the network issue fixed.

each machine has 3 interfaces, so i think this is where i may be messing up

in the meantime, i have 2 ip's. 201.36.59.231 which is the sun box and 201.36.59.232 which is the red hat machine. Both have /24 subnet masks and the netstat -rn output appears to be correct but I am having trouble with them pinging one another so obviously they are not correct. these go through a cisco switch. I have not tried a crossover cable as it would have to be too long. :doh:

netstat -rn shows the default gateway being the public IP and i can talk to any other machine i need to via this interface. I do not have a default gateway for the 2 interfaces that i am trying to get to talk to one another. I didnt think that i needed one since they are on the same network and if anything i thought they could broadcast and figure it out. Its technically only 1 hop, so hence why i thought that. EDIT: i failed to mention that the switchports on the cisco device are all on the same vlan. Do i need something else on the cisco side perhaps?

do i set a default gateway? and if so using the route command when i do set a gateway it tries to takeover as the default for all the interfaces so then the other traffic tries going through that interface.

the syntax i was using is:
route add -net 201.36.59.0 netmask 255.255.255.0 which reflects properly and executes fine until i add the gateway.

can one of you tell me what i am missing?

thanks
# 2  
Old 03-09-2011
I don't believe you can boot off of a routed address. I think you need a flat subnet, which it appears you have.

Please see if you have the firewall configured on the RHEL/OEL box by doing the following:

Code:
service iptables status

Instead of status, issue a stop if you need to test without the firewall on the local machine.
# 3  
Old 03-10-2011
Hi Mark

the firewall is turned off. That was the first thing i did Smilie

i was looking at turning off the iptables as well. Looks like for a private network 192.168.0.0 there is an entry. Smilie

---------- Post updated 03-10-11 at 03:39 AM ---------- Previous update was 03-09-11 at 05:11 PM ----------

i am by no means a cisco dude. Found the problem. I didnt know that the switch was a layer 3 switch and also didnt realize that the vlans had a gateway setup. Input the gateway, and walaa...we are talking.
# 4  
Old 03-10-2011
Good to hear (Btw, iptables IS the firewall).
This User Gave Thanks to mark54g For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Dual Router (routing problem)

This is the network configuration I have: +-------------------------------------------------+ +===========+ | | | | | INTERNET |---| LINUXBOX2 | ... (4 Replies)
Discussion started by: matteo
4 Replies

2. IP Networking

Routing problem : two interfaces one gateway

hi folks, i have a horstbox-router with the following configuration. it has 4 ethernet ports from wich one (wan0) is configured as an external modem via dhcp. at this port/interface(wan0) it is connected with my home network (other switch). this configuration results in the following... (14 Replies)
Discussion started by: gencaslan
14 Replies

3. Solaris

Routing problem

Hi, I have two physical interfaces on a servers. We have connected them to differerent subnets. 1) First interface: 10.158.49.87 to newtwork 10.158.49.0, its gateway is 10.158.49.1 (It is added as default gateway) It is existing set up. It works well 2) Second interface: ... (1 Reply)
Discussion started by: sri243
1 Replies

4. IP Networking

routing problem/question

Internet Gateway 192.168.0.201 Server 1 192.168.0.101 192.168.1.101 192.168.2.101 gateway: 192.168.0.201 VIP: 192.168.1.100 VIP: 192.168.2.100 Server 2 192.168.0.102 192.168.1.102 192.168.2.102 gateway: 192.168.0.201 Client 1 192.168.2.201 gateway: 192.168.2.100 (1 Reply)
Discussion started by: hopfensp
1 Replies

5. AIX

Aix Routing Problem

I need the following solution , please help me... Current situation ip: 192.168.0.12 persistent and 192.168.254.12 service ip gateway: 192.168.0.254 subnet: 255.255.255.0 i have added a new ip on a new nic ip: 10.10.255.40 gateway: 10.10.255.62 subnet: 255.255.255.224 ... (1 Reply)
Discussion started by: rajibimran
1 Replies

6. Solaris

Routing problem of Solaris

Hi, I got problem of Sun Solaris 8 routing. IP of SunA is 10.16.64.164, and have routing table: 10.16.64.0 10.16.64.164 U 1 19236 bge1 10.6.0.0 10.6.0.3 U 1 16534 bge0 224.0.0.0 10.6.0.3 U 1 ... (4 Replies)
Discussion started by: milo
4 Replies

7. IP Networking

routing problem in solaris

hi, below is the situation: my server is in 128.10.200.xxx network. i have a solaris computer running in a subnet. this computer got 2 nic card. 1 is 172.18.198.xxx , another 1 is 10.100.xxx.11 there is a machine stick with this computer, ip is 10.100.xxx.12 so, 10.100.xxx.11 and... (3 Replies)
Discussion started by: kyhah
3 Replies

8. IP Networking

Routing Problem

I have a question concerning networking. Could any forum members explain to me why I might be getting "no route to host" messages when I try to connect through ftp and http protocols? I have went to my etc/hosts file and everything seems to be configured properly. I can connect within my... (1 Reply)
Discussion started by: cstovall
1 Replies

9. IP Networking

routing problem

following Problem. I configured my SuSE Linux 8.0 as a router. I4l, named, ip_forward, iptables (NAT/MASQUERADING) are running or are aktivatet. I just can get a internet connection about the proxy server squid, but if i want to use other protocols i need functional routing. (I had this... (1 Reply)
Discussion started by: razor
1 Replies

10. IP Networking

Routing problem

Hi I know this problem is more likely some windows problem but it has also something to do with unix. We have a windows nt environment wich uses AIX (unix) machines as file servers (samba). In our windows network environment we nicely see al the unix file servers via the 10 MB network. Last... (2 Replies)
Discussion started by: Mark Detrez
2 Replies
Login or Register to Ask a Question