Hey everyone. We're in the process of deploying a number of servers. They're HP DL360 G6's. OS is RHEL 5.4
They've got two on board NIC's, as well as an additional dual port network card, giving us a total of 4 NIC's. Eth0 and Eth2 are bonded together using the bonding module, and the resulting interface is called bond0. That works just fine. The default gateway is located in bond0's subnet, so all connectivity works just fine.
For now let's say this is the network information for bond0:
bond0 ip: 192.168.1.10
bond0 DGW: 192.168.1.1
bond0 SNM: 255.255.255.0
Eth1 is on a dedicated management subnet. It doesn't seem to have any connectivity to anything; not even to nodes on its own subnet. Here's some play network info for eth1:
eth1 ip: 192.168.2.10
eth1 SNM: 255.255.255.0
eth1 DGW: 192.168.2.1 (not actually set up anywhere in the system since only one DGW can be defined)
Basically bond0 needs to be able to talk to all hosts in its subnet, as well as another subnet. It should *NEVER* be used for management traffic. Likewise, eth1 should only be used for management traffic on its own subnet. It should *NEVER* be used for the traffic that would normally be on bond0.
I have verified that IP replay is disabled in /etc/sysctl.
Here was my first attempt at setting up routing:
It didn't work. When trying to ping it showed all traffic from eth1 going out the IP of bond0, and then gave a "destination host unreachable" error. Not good.
I then started back over from scratch and did the following:
This time it shows that the traffic is going out of the IP for eth1, but I'm not sure if its actually leaving this interface or not. Either way, i'm still getting "destination host unreachable" errors even though I know for a fact that the destination host is alive (i'm ssh'd into it right now). I haven't done a tcpdump yet to verify one way or another.
To be patently honest I have no idea what I'm doing right or wrong with this one. The ip rule documentation is spattered with examples but none seem to work for what i'm doing. I still can't even ping a host on a local subnet, even though I've verified that the network settings for eth1 are configured correctly (besides routing).
PS: Any 'for idiots' guides to the IPROUTE2 suite would be greatly appreciated. I've read through the documentation and its ancient.
PPS: This is simply a first step, ultimately I'd like to sort which types of traffic go over which interface based on protocol, but I figure that'll be a ton easier once I have the basic gist of things.
---------- Post updated at 03:58 PM ---------- Previous update was at 03:39 PM ----------
As an addendum, just tried running tcpdump. First I ran it on eth1, and tried pinging the eth1 ip from the remote host. No packets received. Tried it again on bond0, pinging the eth1 ip, and again no packets received. So I'm kind of at a loss now.
All traffic appears to be working correctly; what comes in on one port leaves the correct port. Well, save for one thing. SNMP isn't working correctly. When an SNMP GET request comes in on eth1, the SNMP agent still appears to be sending out responses on bond0, so they're never retrieved by the manager. Any ideas??
SNMP isn't working correctly. When an SNMP GET request comes in on eth1, the SNMP agent still appears to be sending out responses on bond0, so they're never retrieved by the manager. Any ideas??
What is the IP address of the manager? (i.e. the server that issues the SNMP GET) ?
Hello.
Doing my first steps in Linux and while trying to configure a DHCP server in Linux i encountered some problems:
TOPOLOGY:
- Laptop with Windows 8.1
- VM Player 12 with Linux installed (Ubuntu Server 14.04)
- ICS-DHCP-SERVER installed and running
- Another LAPTOP conected to a... (1 Reply)
The following thread is closed: 133552-howto-linux-multihomed-dns-client (Sorry I am not allowed to post URLs)
Therefore I write this append in an own thread.
The HOWTO in the referenced thread helped me a lot and I only want to append how to make reverse lookup working for a local zone:
... (0 Replies)
Hello folks;
I have a NIC card on my SUSE 10.3 server with eth0 & eth1 configured with two IP addresses (172.16.5.3 & 172.16.5.4)
I'd like to remove the IP assigned to eth1 (172.16.5.4). i think i know i can go into ifcfg-eth1 and edit it but before i do that, i want to know if there's a better... (2 Replies)
The Linux resolver queries all nameservers in the order they are listed in /etc/resolver.conf.
If a nameserver times out, it advances on to the following nameserver.
But, if a nameserver returns "not found" (NXDOMAIN) it stops.
This behaviour is problematic when you need to resolve names from... (0 Replies)
Hello this is my first post at this forum.
Apologize for my lack of network understanding
but Im posting to learn.
I have a problem reaching default gateway 10.18.110.1
If I use my laptop I can ping 10.18.110.1 but with our red hat multihomed server the gateway does not respond to ping.
cat... (11 Replies)
Hi,
Recently we discovered the eth1 of one of the server turn off by itself when the system reboot. Could someone please advise how to fix it?
Thanks (4 Replies)
when i finish installed rhel 4.4 to my hp dl585 box, ifcfg-eth0 and ifcfg-eth1 is not available.when i ifconfig -a,i can not see the eth0 and eth1, only lo0 and si0. Unlike to the other server i found eth0 and eth1 files in
/etc/sysconfig/network-scripts/.
what will i do? (2 Replies)
I just installed Crux on my laptop, which means I'll have to configure /etc/rc.d/net to adapt to my wireless internet. When I ran Linux before, I connected through eth1. How should I configure the /etc/rc.d/net file accordingly?
Thanks for reading,
Octal. (0 Replies)
I'm not sure it that's the right term for what I'm asking about, but it's the best I could come up with. Here is my situation...
I'm setting up a network using OpenVPN. The clients I'm setting up will need to be able to access their own DNS servers (to resolve internal names at their location)... (4 Replies)
Hi,
I am writing a socket program at the moment that uses both of the clients network interfaces. The program tries to create two socket connections to the server over a LAN connection and a GPRS connection. I have tried to update the routing table using the route command but that proved... (0 Replies)