08-01-2012
Linux as router
Hi,
I have two subnets (172.16.18.0, 192.168.10.0) and a RH linux box. I know linux can act as router, but specifically want to ask if this acts as a router without any route addition on all nodes of two subnets. I mean , I need Not to add anything at each of the subnet nodes (obviously gateway is there) but only add routes in the linux box. I have checked enabling ip forwarding in files /etc/syscntl.conf and /proc/sys/net/ipv4/ip_forward. But that donot make any difference . I am unable to ping the node of 2nd subnet with the node of 1st subnet. My linux box has two nic's with 172.16.18.2 and 192.168.10.2
172.16.18.3 (node s1) ----> 172.16.18.2, 192.168.10.2 <---- 192.168.10.3 (node s2)
Firstly, is it achievable that by only adding routes on linux box I can make two subnets communicate. If yes then what route I need to put on this. (I donot want to add any route on the subnet nodes except the subnet gateway - 172.16.18.2 and 192.168.10.2)
Thanks in advance ,
Dexter
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
what is lan card autonegotiation ?
how to enable and disable this feature? (2 Replies)
Discussion started by: nabil_boussetta
2 Replies
3. SCO
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
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
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
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
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
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
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
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
LEARN ABOUT SUSE
ifndp-proxy
IFNDP-PROXY(5) Network configuration IFNDP-PROXY(5)
NAME
ifndp-proxy[-<interface name>] - IPv6 NDP and IPv4 ARP proxy entries
SYNOPSIS
/etc/sysconfig/network/ifndp-proxy
/etc/sysconfig/network/ifndp-proxy-<interface name>
DESCRIPTION
These files contain IPv6 NDP and IPv4 ARP proxy settings, that should be applied using the ip neigh add proxy command documented in the
ip(8) manual page that provides a common interface for IPv4 and IPv6.
The NDP/ARP proxy is required, e.g. when IP addresses from the same subnet have to be used on the interface of the host as well as on
interfaces behind a (tunnel) interface and using a bridge is not an option.
Don't forget to enable forwarding and the NDP/ARP proxy by setting
net.ipv6.conf.<all|default|interface name>.proxy_ndp = 1
net.ipv6.conf.<all|default|interface name>.forwarding = 1
and/or
net.ipv4.conf.<all|default|interface name>.proxy_arp = 1
net.ipv4.conf.<all|default|interface name>.forwarding = 1
or
net.ipv4.ip_forward = 1
either as global all setting in the /etc/sysctl.conf file or using the ifsysctl(5) files, that allow per-interface setup.
Forwarding can be also enabled in the /etc/sysconfig/sysctl file using the IP_FORWARD and IPV6_FORWARD variables.
The proxy entries are added and deleted using the if-{up|down}.d/ndp-proxy script, every time after an involved interface has been set
up or down.
SYNTAX
The format of the ifndp-proxy file is:
<address> <address interface> <proxy interface list>
The format of the ifndp-proxy-<address interface> file is same to above, but allows also to omit the address interface by using a "-" as
placeholder inside of the file, because it is already available in the file name:
<address> <address interface | -> <proxy interface list>
Lines beginning with # and blank lines are ignored.
Each line defines to add a proxy NDP/ARP entry with the address of or behind address interface to all interfaces in the proxy interface
list.
EXAMPLES
Let's assume, your machine is connected via eth0 to a switch with the networks 2001:db8:abba::/64 and 192.168.100.1/24 and is using the IP
address 1 itself. You'd like to use the addresses 11 and 12 e.g. for virtual machines behind the tap1 and tap2 interface, that is:
2001:db8:abba::1/64 -- local eth0 address
2001:db8:abba::11/64 -- address behind tap1
2001:db8:abba::12/64 -- address behind tap2
192.168.100.1/24 -- local eth0 address
192.168.100.11/24 -- address behind tap1
192.168.100.12/24 -- address behind tap2
then set up the following entries in the ifndp-proxy file:
2001:db8:abba::1 eth0 tap1 tap2
2001:db8:abba::11 tap1 eth0 tap2
2001:db8:abba::12 tap2 eth0 tap1
192.168.100.1 eth0 tap1 tap2
192.168.100.11 tap1 eth0 tap2
192.168.100.12 tap2 eth0 tap1
additionally to the routing entries in the routes or ifroute-<interface name> files.
BUGS
Please report bugs at <https://bugzilla.novell.com/>
AUTHOR
Marius Tomaschewski <mt@suse.de>
SEE ALSO
ifup(8) ifcfg(5) ifsysctl(8)
sysconfig December 2009 IFNDP-PROXY(5)