Sponsored Content
Operating Systems Linux Lan card not reaching Gateway Post 302680037 by dextergenious on Wednesday 1st of August 2012 06:22:59 AM
Old 08-01-2012
Hi
fpmurphy,

Firstly they do not point to same problem . First problem was that my node on one subnet was unable to connect to its gateway. BTW it is resolved now . May be some stucking at the network switch point was there. As I rebooted, it got OK.

My second post was one subnet not connecting to other with all ip forwarding done at the linux box connecting these.As you gave reply to stop firewall, I did that. But same status.

I am only able to reach the first subnet's gateway from the node in second subnet but this also bu putting route at node itself which I did not want. I am not getting what is going wrong. All posts I read on internet say these simple steps to make subnets communicate and I am doing them all, but still both subnets are unable to communicate .

/etc/sysctl.conf , ip-forwading = 1
sysctl -p
/sys/proc/net/ipv4/ip-forward, = 1
Firewall disabled

(From linux box , I am able to connect to nodes of both subnets.)

172.16.18.3 (node s1) ----> 172.16.18.2,
192.168.10.2 <---- 192.168.10.3 (node s2)

node 192.168.10.3 donot communicate with 172.16.18.2 (and so 172.16.18.3)

Any more suggestions ?

Thanks in advance

Dexter

---------- Post updated at 03:52 PM ---------- Previous update was at 03:50 PM ----------

Hi,

It is :

172.16.18.3 (node s1) ----> 172.16.18.2, ----------------------------
-------------------------- 192.168.10.2 <---- 192.168.10.3 (node s2)

subnet node 1 linux box subnet node 2





Dexter
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

LAN Card Problem !

The Lan card in one of our UIII WS's seem doesn't work,so with ping command i can not see any of the machines in LAN and with some other tests i'm sure it's not OK. I tried to use the second card on PCI port ,but the replaced card was one of the ordinary card for PC's ...by the way after... (1 Reply)
Discussion started by: nikk
1 Replies

2. Cybersecurity

lan card autonegotiation?

what is lan card autonegotiation ? how to enable and disable this feature? (2 Replies)
Discussion started by: nabil_boussetta
2 Replies

3. SCO

LAN card problem

Dear all Im facing one problem in SCO 5.0.5 , its that in the server there are three LAN cards INTEL PRO 100 series but when we configure all the three cards then LAN stops working . self ping is possible but no one can ping the server. If we remove driver of any one card LAN starts working. Is... (1 Reply)
Discussion started by: ccvyas
1 Replies

4. Solaris

Does x86 solaris 9 support PCI RealTek Lan Card

Hi, i have a RealTek Lan Card on my machine. Does Solaris 9 supports this lan card . Thank You, Shafi (3 Replies)
Discussion started by: sol8admin
3 Replies

5. SCO

lan card not detecting

hi all i have installed SCO 5.0.5 on a "Netfinity 5000" IBM server. But the OS is not detecting the lan card. how can i detect it.... help and thanks in advance . bidhayak (3 Replies)
Discussion started by: bidhayakm
3 Replies

6. Programming

LAN card status Information

Please tell me API in Solaris / Linux / UNIX to get status information of LAN card. (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

7. Linux

How to check the LAN card?

Hi. I have a lan card installed on my server. I want to check the duplex speed of it. How can I check it? Help is appreciated. Thank you. (3 Replies)
Discussion started by: Amol21
3 Replies

8. Solaris

Can't ping new PCI LAN card x4270_m2

Hi, I've recently moved my pci LAN card from Slot2 Slot5 on my sun x4270_m2 server (solaris 10). I've done the touch / reconfigure and devfsadm, however my issue is that im able to configure the e1000g7 port with an ip address (192.168.0.1) but if i plug my laptop (set with static ip... (7 Replies)
Discussion started by: kerrygold
7 Replies

9. Red Hat

PC cannot reach two lan card Linux box

we have red hat 6 linux box There are two lan card one lan card eth0 have ip 10.82.190.31/24 GW 10.82.190.254 2th lan card eth1 have ip 10.82.188.33/24 GW 10.82.188.254 I have below route ... I use two route table root@xxx# netstat -rn Kernel IP routing table Destination Gateway ... (5 Replies)
Discussion started by: chuikingman
5 Replies

10. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

Dear friends I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies
Net::Subnets(3pm)					User Contributed Perl Documentation					 Net::Subnets(3pm)

NAME
Net::Subnets - Computing Subnets In Large Scale Networks SYNOPSIS
use Net::Subnets; my $sn = Net::Subnets->new; $sn->subnets(@subnets); if (my $subnetref = $sn->check($address)) { ... } my ($lowipref, highipref) = $sn->range($subnet); my $listref = $sn->list(($lowipref, $highipref)); DESCRIPTION
Very fast matches large lists of IP addresses against many CIDR subnets and calculates IP address ranges. This is a simple and efficient example for subnet matching: use Net::Subnets; my @subnets = qw(10.0.0.0/24 10.0.1.0/24); my @addresses = qw/10.0.0.1 10.0.1.2 10.0.3.1/; my $sn = Net::Subnets->new; $sn->subnets(@subnets); my $results; foreach my $address (@addresses) { if (my $subnetref = $sn->check($address)) { $results .= "$address: $$subnetref "; } else { $results .= "$address: not found "; } } print($results); This is a simple example for range calculation: use Net::Subnets; my @subnets = qw(10.0.0.0/24 10.0.1.0/24); my $sn = Net::Subnets->new; my $results; foreach my $subnet (@subnets) { my ($lowipref, $highipref) = $sn->range($subnet); $results .= "$subnet: $$lowipref - $$highipref "; } print( $results ); This is a simple example for list generation: use Net::Subnets; my $lowip = '192.168.0.1'; my $highip = '192.168.0.100'; my $sn = Net::Subnets->new; my $listref = $sn->list(($lowip, $highip)); foreach my $address (@$listref) { # do something cool } METHODS
"new" my $subnets = Net::Subnets->new; Creates an "Net::Subnets" object. "subnets" $subnets->subnets([qw(10.0.0.0/24 10.0.1.0/24)]); The C<subnets> method lets you prepare a list of CIDR subnets. "check" my $match = $subnets->check($address); The C<check> method lets you check an IP address against the previously prepared subnets. "range" my ($lowest, $highest) = $subnets->range($subnet) The C<range> method lets you calculate the IP address range of a subnet. "list" my $list = $subnets->list($lowest, $highest); The C<list> method lets you calculate a list containing all IP addresses in a given range. AUTHOR
Sebastian Riedel (sri@cpan.org), Juergen Peters (juergen.peters@taulmarill.de) COPYRIGHT AND LICENSE
Copyright (C) 2003-2009, Sebastian Riedel. This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0. perl v5.10.1 2009-12-18 Net::Subnets(3pm)
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy