11-17-2011
Here is the requirement
Server with two nic with below ip config
en0 :10.50.102.25 mask : 255.255.255.0 GW: 10.50.102.1
en4: 10.50.103.25 mask : 255.255.255.0 GW:10.50.103.1
Routing Table should have two default routes as below
Default Route 1 : pointing to 10.50.102.1
Default Route 2 : pointing to 10.50.103.1
Challenge : I configured both NICs without giving GW. Then I added the default routes. After this Both NIC is showing the GW as 10.50.102.1.
I agree that this is not a standard configuration, but we have one critical server in production with two nics. When we migrate this server behind firewalls we are facing some issues. We observed that with the configuration as per my requirement in a windows machine things works well. So we have arranged a test AIX box and trying to perform the same.
Any help is much appreciated.
10 More Discussions You Might Find Interesting
1. IP Networking
I used "route" to add the default gateway
I wrote this:
route add default 19x.x.x.x 0
but this is not permanent default gateway.
Do I need to use another command?
Thank a lot (2 Replies)
Discussion started by: lmena
2 Replies
2. Red Hat
Hi,
in which file and how shuold be decalred a gateway and its IP adresse ?
Where and how add a gateway ?
Many thanks before. (3 Replies)
Discussion started by: big123456
3 Replies
3. SCO
Hy everybody !
I'm new on your forum, i'm french and don't speak a good english, so scuse me please for it !
I would to know how modify a gateway on a SCO 5.06
We have a problem, we have multi "beach" adress, one is 192.1.1.x, an other is 192.1.4.x
Actually, the computer on 192.1.4.x... (2 Replies)
Discussion started by: LB59
2 Replies
4. AIX
Dear folks,
How can delete the gateway from smitty or by command, Because I have 2 gatway in the system and I tried to delete by smitty it gave me failed command (7 Replies)
Discussion started by: magasem
7 Replies
5. Solaris
Hi Community,
I've a question about network adaptors.
I've installed Solaris 10 configuring the ce0 port with an IP(10.23.8.15) , an interface_name (first) and a gateway(10.23.8.1) .
I need to change the name of the interface ce0 and to configure another interface (ce1) with another... (1 Reply)
Discussion started by: Sunb3
1 Replies
6. AIX
Hi,
I have two interfaces on m AIX 5.3 box. One going to 192.168.1.x and it has a gateway of 192.168.1.1.
I configured the other gateway with 192.168.2.x and the default gateway as 192.168.2.1. But I can't get connectivity to the 192.168.2.1 network. Can someone help me out and let me know... (7 Replies)
Discussion started by: bbbngowc
7 Replies
7. Solaris
Hi all,
Just now i had change the gateway for a server
Go to /etc/defaultrouter, change to 10.86.33.1
route delete default 10.86.39.222
route add default 10.86.33.1
now cannot telnet to the server already..
any idea? (5 Replies)
Discussion started by: SmartAntz
5 Replies
8. Linux
Dear Sir
I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper.
I am having a problem, configuring static call routing on GNUGK
in the section
... (0 Replies)
Discussion started by: mfondoum
0 Replies
9. Solaris
Hi,
OS: Solaris 11.2 64bit
IP address: 172.16.10.10
Netmask: 255.255.254.0
Gateway: 172.16.2.254
From windows box, i can set and ping gateway. IP address is same segment with windows box. But on solaris i cannot set gateway.
route add default 172.16.2.254
add net default: gateway... (6 Replies)
Discussion started by: mzainal
6 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 PLAN9
netmasks
netmasks(4) File Formats netmasks(4)
NAME
netmasks - network mask database
SYNOPSIS
/etc/inet/netmasks
/etc/netmasks
DESCRIPTION
The netmasks file contains network masks used to implement IP subnetting. It supports both standard subnetting as specified in RFC-950 and
variable length subnetting as specified in RFC-1519. When using standard subnetting there should be a single line for each network that is
subnetted in this file with the network number, any number of SPACE or TAB characters, and the network mask to use on that network. Network
numbers and masks may be specified in the conventional IP `.' (dot) notation (like IP host addresses, but with zeroes for the host part).
For example,
128.32.0.0 255.255.255.0
can be used to specify that the Class B network 128.32.0.0 should have eight bits of subnet field and eight bits of host field, in addition
to the standard sixteen bits in the network field.
When using variable length subnetting, the format is identical. However, there should be a line for each subnet with the first field being
the subnet and the second field being the netmask that applies to that subnet. The users of the database, such as ifconfig(1M), perform a
lookup to find the longest possible matching mask. It is possible to combine the RFC-950 and RFC-1519 form of subnet masks in the net-
masks file. For example,
128.32.0.0 255.255.255.0
128.32.27.0 255.255.255.240
128.32.27.16 255.255.255.240
128.32.27.32 255.255.255.240
128.32.27.48 255.255.255.240
128.32.27.64 255.255.255.240
128.32.27.80 255.255.255.240
128.32.27.96 255.255.255.240
128.32.27.112 255.255.255.240
128.32.27.128 255.255.255.240
128.32.27.144 255.255.255.240
128.32.27.160 255.255.255.240
128.32.27.176 255.255.255.240
128.32.27.192 255.255.255.240
128.32.27.208 255.255.255.240
128.32.27.224 255.255.255.240
128.32.27.240 255.255.255.240
128.32.64.0 255.255.255.192
can be used to specify different netmasks in different parts of the 128.32.0.0 Class B network number. Addresses 128.32.27.0 through
128.32.27.255 have a subnet mask with 28 bits in the combined network and subnet fields (often referred to as the subnet field) and 4 bits
in the host field. Furthermore, addresses 128.32.64.0 through 128.32.64.63 have a 26 bits in the subnet field. Finally, all other
addresses in the range 128.32.0.0 through 128.32.255.255 have a 24 bit subnet field.
Invalid entries are ignored.
SEE ALSO
ifconfig(1M), inet(7P)
Postel, Jon, and Mogul, Jeff, Internet Standard Subnetting Procedure, RFC 950, Network Information Center, SRI International, Menlo Park,
Calif., August 1985.
V. Fuller, T. Li, J. Yu, K. Varadhan, Classless Inter-Domain Routing (CIDR): an Address Assignment and Aggregation Strategy, RFC 1519,
Network Information Center, SRI International, Menlo Park, Calif., September 1993.
T. Pummill, B. Manning, Variable Length Subnet Table For IPv4, RFC 1878, Network Information Center, SRI International, Menlo Park, Calif.,
December 1995.
NOTES
/etc/inet/netmasks is the official SVr4 name of the netmasks file. The symbolic link /etc/netmasks exists for BSD compatibility.
SunOS 5.10 7 Jan 1997 netmasks(4)