routing issues with multiple NIC cards


 
Thread Tools Search this Thread
Operating Systems HP-UX routing issues with multiple NIC cards
# 1  
Old 06-20-2008
routing issues with multiple NIC cards

I am running HP_UX 11.23 with 4 NIC cards (this is our TSM server)
I have 4 subnets we are backing across. trying to keep traffic on their subnets. I only have one route statment should I add more.
route add net 123.99.8.0 netmask 255.255.255.0 123.99.8.254
route add net 123.99.67.0 netmask 255.255.255.0 123.99.67.254
route add net 123.99.65.0 netmask 255.255.255.0 123.99.65.254


# ifconfig lan0
lan0: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 123.99.3.234 netmask ffffff00 broadcast 123.99.3.255
# ifconfig lan1
lan1: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 123.99.67.234 netmask ffffff00 broadcast 123.99.67.255
# ifconfig lan2
lan2: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 123.99.65.234 netmask ffffff00 broadcast 123.99.65.255
# ifconfig lan3
lan3: flags=1843<UP,BROADCAST,RUNNING,MULTICAST,CKO>
inet 123.99.8.234 netmask ffffff00 broadcast 123.99.8.255

# netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
123.99.3.234 123.99.3.234 UH 0 lan0 4136
123.99.8.234 123.99.8.234 UH 0 lan3 4136
123.99.65.234 123.99.65.234 UH 0 lan2 4136
123.99.67.234 123.99.67.234 UH 0 lan1 4136
123.99.3.0 123.99.3.234 U 2 lan0 1500
123.99.67.0 123.99.67.234 U 2 lan1 1500
123.99.65.0 123.99.65.234 U 2 lan2 1500
123.99.8.0 123.99.8.234 U 2 lan3 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 123.99.3.254 UG 0 lan0 0
# 2  
Old 06-23-2008
Have you filled correctly /etc/rc.config.d/netconf file?
After the stanzas for your multiple lans, there is another section
for all the routings for EACH lan you have (lan[0] [1] etc) you will have to copy the block and configure for each lan interface if not yet done...
# 3  
Old 06-23-2008
You do not need special routes for these. They get automatically created when you add the interface.

Think about it.. how do I get to the 12399.8.0 net, I go out the 123.99.8.234 interface.

The only route that counts in your config is the default going down 123.99.3.234 interface

If traffic from some other net ( e.g 192.168.4.1 )comes in on the 123.99.8.234 net it will be returned to the router via the 123.99.3.234 LAN unless you add a statement like this.

route add 192.168.4.0 123.99.8.254 1

It is the extranets you want to set the routes for. Same nets will always go out the proper LAN and get routes added automatically as part of ifconfig.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

How do you setup 2 nic cards for squid Ubuntu server?

I have a made my squid proxy, I now have add another nic card to an old CPU using Ubuntu server 12.04. I have seen another post similar however I am new and did not understand some of it. Something about redirecting IP address and IP table? I don't know how to do this.:confused: (9 Replies)
Discussion started by: trilju2005
9 Replies

2. Ubuntu

Help asap squid with 2 nic cards setup

I found an old post that talks about 2 nice cards and it is driven by the IP address .... but I didn't understand it because the 2 people skipped information for me the newbie.. Can someone help me... I have the proxy server setup and I believe I have enabled the 2nd nic card, I just need one... (1 Reply)
Discussion started by: trilju2005
1 Replies

3. IP Networking

Best reference for understanding low level info on nic cards drivers and functionality

Hi, What is the best reference that gives in detail on nic cards configuration , assigning multiple ip addresses to a single interface, netlink library etc and all basic stuff at this level..? Thanks (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies

4. UNIX for Advanced & Expert Users

Solaris 10 routing table issues

Hello Hope someone can help with this problem. We are running Solaris 10 with a current kernel patch of 142900-09. We appear to be getting a serious issue with the routing table as shown below: Output from netstat -rnv Destination ....Mask ............Gateway ........Device... (2 Replies)
Discussion started by: gregsih
2 Replies

5. HP-UX

HP UX 9000 NIC CARDS

Hello, I am trying to move an HP UX from one locaion to another. The new location don't have any Fiber switches. On the back of my server I see 2 RJ 45 for console management the other for networking , the server also has a fiber NIC card. When I disconnec the fiber and want to user regular... (1 Reply)
Discussion started by: ldaliosmane
1 Replies

6. Solaris

Network cards - Routing

Hi all I hate networking, I hate everything to do with it. Its something I do in anger in one contract, then forget. This is more of a question / than a problem. So, on a solaris 10 server, using older qfe cards, Ive got a sun truck with 4 nics (qfe0,3,4,7), and a ipmp pair (hemo0,qfe1).... (2 Replies)
Discussion started by: sbk1972
2 Replies

7. Red Hat

External NIC cards not pinging with each other in RHEL 5.1

We have a setup of two nodes which has two NIC cards in each. One is built in and another is D-Link (external NIC card). We are unable to ping to the external NIC cards in both. Eg: Node A has two IPs 192.168.1.10 (eth0) and 192.168.2.10 (eth1) and Node B has two IPs 192.168.1.20 (eth0) and... (3 Replies)
Discussion started by: durgaprasadr13
3 Replies

8. High Performance Computing

veritas and nic cards

Hello I have 2 machines with 3 NIC cards. When I setup veritas, I receive this message: e1000g1 has an IP address configured on it. It could be a public NIC on ken. Are you sure you want to use e1000g1 for the first private heartbeat link? As if e1000g1 should not have an IP address.... (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

9. IP Networking

Setup 2 NIC cards in one UNIX system

Hi; I have a UNIX box (SCO 5.0.2) with two (2) NIC cards. One card (NIC1) talks to a network 57.14.65.x/27. The other card NIC2) talks to users on 57.14.103.x and 57.14.105.x with subnet mask of 255.255.0.0. If I set NIC2 to this subnet mask (255.255.0.0) it seems like the NIC traffic is now... (2 Replies)
Discussion started by: texaspanama
2 Replies

10. Solaris

NIC cards for sunblade 100

I need to add a PCI NIC to a sunblade 100 running solaris 8. Im new to this and was hoping someone could give me some card names and models which will work for this system and has a driver for this sparc system. thanks (3 Replies)
Discussion started by: meyersp
3 Replies
Login or Register to Ask a Question