- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Help with 2 NIC
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 02:36 AM
03-28-2001 02:36 AM
Help with 2 NIC
Hi,
I've a RH 6.2 with 2 3Com NIC.
I've installed 1 nic under subnet 143.186.138.x and the other under 192.168.0.x
My problem is that I can ping anywhere in the 143.186.138.x,but in the 192.168.0.x, I can only ping to myself.
However, I'm sorry that I'm rather new and couldn't really figure out what's wrong.
Can anyone kindly point out my mistake.
I'm sorry that the attach route table may be mis-align. I'd be glad if I can send a mail to anyone who like to take a look.
Thanks.
Han Ming
###############################################My ifconfig is :-
eth0 Link encap:Ethernet HWaddr 00:10:5A:83:ED:12
inet addr:143.186.138.240 Bcast:143.186.138.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15490590 errors:0 dropped:0 overruns:0 frame:0
TX packets:25147189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:16 Base address:0xcc00
eth1 Link encap:Ethernet HWaddr 00:50:DA:B6:D7:D0
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:2045 frame:0
TX packets:0 errors:3712 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:16 Base address:0xc800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:5639 errors:0 dropped:0 overruns:0 frame:0
TX packets:5639 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
###############################################
##############################################################################
My route table is:-
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
slacker00 * 255.255.255.255 UH 0 0 0
eth1
slacker00 * 255.255.255.255 UH 0 0 0
eth0
192.168.0.0 * 255.255.255.0 U 0 0 0
eth1
192.168.0.0 * 255.255.255.0 U 0 0 0
eth1
143.186.138.0 * 255.255.255.0 U 0 0 0
eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default sg-cecil.sg.inp 0.0.0.0 UG 0 0 0
eth0
##############################################################################
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 04:28 AM
03-28-2001 04:28 AM
Re: Help with 2 NIC
Youve got 2 NIC's pointing to 2 completely different subnets but you can only have 1 default gateway. So, this default gateway is where all traffic to BOTH subnets is being routed, so your default gatway server must be able to see both subnets. Is this so ? And why does your default gaetway show as 0.0.0.0 ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 06:40 PM
03-28-2001 06:40 PM
Re: Help with 2 NIC
I am sorry for that and will repost in the correct group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 06:56 PM
03-28-2001 06:56 PM
Re: Help with 2 NIC
Thanks for your reply.
Firstly, I'm sorry about the posting in the wrong forum.
As for my setting, the default gateway is set to 143.186.138.1.
The reason is that this linux box is actually a server within a firewall.
Thus, for this machine to go to the internet, I'll need to set it's gateway to the gateway within the 143.186.138.* subnet. i.e. 143.186.138.1.
The 192.168.0.* subnet, can be said that it is a machine behind a firewall behind another firewall.
I'm not sure I've explain it correctly, but I'll glad to clarify any doubt if required.
And if it's fine to continue this thread in this forum, I'll be glad to. Otherwise, I'll repost in the linux -> networking forum.
Thanks again for the reply.
Regards.
Han Ming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2001 04:41 AM
04-02-2001 04:41 AM
Re: Help with 2 NIC
I'm not sure that running a server on top of a firewall is a good idea. As I see it, a firewall should be just that and only that.
however, if I understand correctly, you cannot see your internal networks from this server. You could try adding all your networks as static routes. If they are all 192.x.x.x subnets, a quick way to do this would be adding 192.0.0.0 255.0.0.0 to point to your internal router and let him sort the routing out for you. Alternatively run 'gated' to listen to your routers routing updates (on the internal interface only!) and your server will learn how to route internally for himself.
good luck.
Phil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2001 08:30 AM
04-04-2001 08:30 AM
Re: Help with 2 NIC
What seems to be the problem to me, has something to do with the ifconfig - for the 2nd interface, no traffic, has been received, and all attempts to transmit traffic, has resulted in errors (jabbers probably).
To me this indicate bad cabling, misconfigured speed, and duplex settings.
How is your box wired?