Routing issue - local vs LAN


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Routing issue - local vs LAN
# 1  
Old 03-02-2012
Routing issue - local vs LAN

hi guys

suse 11 SP1 x64

I have a server (4 NIC ports 192.168.100.100-103) that connects point to point to a storage device (same thing 4 ports 192.168.110.100-113) but this server connects to normal LAN 10.6.100.x - gateway 10.6.100.1

the issue is when testing connectivity to the storage device everything is cool
but as soon as I set the LAN IPs (10.6.100.x) and the gateway I lost connectivity to storage device

what should I modify? any rule o routing rule?

thanks
# 2  
Old 03-02-2012
Don't enter or alter any gateways or other routing information.

No routing whatsoever is needed to talk over a point-to-point link, or over the local subnet -- routing and gateways only get involved for things beyond the local network.

All that's needed for two computers connected loopback to ping each other, for instance, is:

Code:
# on host 1
ifconfig eth0 up
ifconfig eth0 192.168.0.100 netmask 255.255.255.0


# on host 2
ifconfig eth0 up
ifconfig eth0 192.168.0.101 netmask 255.255.255.0

The OS will automatically pick the right interface for local traffic based on IP address and subnet mask.
# 3  
Old 03-02-2012
I found something this server has 4 interface the ones 192.168.128.100-103 - eth0...eth3.... but only eth0 is responding
eth0 - 100
eth1 - 101
eth2 - 102
eth3 - 103

the test I am doing is I connect cable to eth1 and I ping 192.168.128.101 and I get no respond but If I connect cable to interface eth0 I get response from 192.168.100.101-102-103....
but If I connect back to eth1 I don't respond from any IP

thanks

any idea why? it's like eth0 activates all the IPs
# 4  
Old 03-02-2012
It's easily possible to put more than one IP address into a single adapter.

Code:
ifconfig eth0 192.168.0.1 netmask 255.255.255.0
ifconfig eth0:1 192.168.2.1 netmask 255.255.255.0

It's possible you did this instead of putting them on your different adaptors.

Without seeing what your configuration actually is it's very difficult to say.
# 5  
Old 03-02-2012
got your point but I net several NICs for redundancy

this is a just installed suse 11 x64 I don't know what's going on
some configuration if you want I can post here

thanks

---------- Post updated at 04:49 PM ---------- Previous update was at 04:18 PM ----------

I think the issue is related to I have multiple NICs on the same subnet any idea how to fix it?
# 6  
Old 03-02-2012
Post your configuration already.
# 7  
Old 03-03-2012
I'm going to add another thread since I think the issue is different
thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Cybersecurity

iptables Local Lan Issues

I recently installed Centos 6 and is my SOHO firewall/router. The small network is layout like such: |--eth0(WAN) Centos 6(firewall/router) |---eth1(LAN) | Switch | | LAN(192.168.3.0/27) | | PCs ----Laptops---Printer... (8 Replies)
Discussion started by: metallica1973
8 Replies

2. Solaris

Routing Issue

we are not able to ping client server (falcon-ebr.sbms.bsc.com) from netbackup master server (135.179.96.122 tsprd-ebr.edc.single.net) However from client server we are able to ping the master Server. Please assist on this (1 Reply)
Discussion started by: Rahul466
1 Replies

3. IP Networking

Routing traffic problem between 3G and Office Lan Network

Hi, I would like to ask some networking solution regarding my work LAN and 3G usb network problem. I want to route my internet traffic to the 3G network and sometimes connect to some of my work network for ssh to configure some workstation or print something. Currently my problem is i can't... (0 Replies)
Discussion started by: jao_madn
0 Replies

4. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

5. IP Networking

Ubuntu LAN connectivity issue

System: Dell Desktop w/ 2 SATA drives running Ubuntu 9.10 that uses 2 ethernet cards, 1 for internet connectivity and another to interface the machine with a high voltage power supply which supports ssh and EPICS controls. Second Ethernet card is connected to a NetGear WNR3500 router, the VME... (0 Replies)
Discussion started by: henslewm
0 Replies

6. IP Networking

Need help with a routing issue.

I have run into a wall troubleshooting a Centos 5 networking issue. Hoping someone can assist. I've got a box with two vlans trunked over bond0 bond0 Link encap:Ethernet HWaddr 00:22:64:C1:D6:60 inet6 addr: fe80::222:64ff:fec1:d660/64 Scope:Link ... (0 Replies)
Discussion started by: creedog
0 Replies

7. Solaris

Lan Issue

Hi Mates, I have one problem connecting a solaris machine to winxp machine. Setup:- Solaris 10 OS Virtual machine - on VMWARE (Ip Address:- 192.168.10.3). WINXP SP2 is the base os. (Ip Address:- 192.168.10.2). Bothe machines are connected using a bridge networking VMnet1. When i ping... (1 Reply)
Discussion started by: satyajeet.kadam
1 Replies

8. IP Networking

IP - Routing issue?

I have an IP routing issue or I am just to stupid to work it out myself. I have setup am old PC running SUSE Linux 11.3 as a router, the system has 3 Interfaces connecting 3 networks. Interface 1 = 10.164.2.161/21 Interface 2 = 192.168.1.210/24 Interface 3 = 30.1.0.11/16 The default... (6 Replies)
Discussion started by: hogola
6 Replies

9. AIX

AIX Routing Issue

Hello, I've moved to a new network with multiple AIX box's. Most of them are working fine and dandy. On one box I need to set up a static route to a gateway.. no problem right? Whenever I add the route it appears in the routing table as UGc and then begins adding new entries to the... (1 Reply)
Discussion started by: joshstar14
1 Replies

10. UNIX for Dummies Questions & Answers

Routing between two LAN

Here's the problem. I got one network with a internett connection (2mbit). In this network there's 5 computers connected together with a hub. The other network is also with 5 computers. I'm just wondering if I could connect these networks together. But the one network should not get access to the... (1 Reply)
Discussion started by: Dark_Duck
1 Replies
Login or Register to Ask a Question