Multiple networks on same server


 
Thread Tools Search this Thread
Operating Systems Solaris Multiple networks on same server
# 1  
Old 11-01-2010
Multiple networks on same server

If I have 2 interfaces in a server on the same subnet/network does Solaris automatically choose to route packets destined for this network out the first interface. I.e if ce0 and ce1 were on same network ce0 would be chosen as it's first interface?
# 2  
Old 11-01-2010
Are you trying to make a bridge - machine that connects to two subnets?
# 3  
Old 11-02-2010
Quote:
Originally Posted by Actuator
If I have 2 interfaces in a server on the same subnet/network
This is unsupported. Each active physical interface must be bound to a distinct network (more precisely, to different link-layer broadcast domains). Should you want to have more than one interface on the same network for redundancy and/or load balancing reasons, you need to configure them to use IPMP.
# 4  
Old 11-02-2010
If I use an IPMP group and place both interfaces in it, will all outbound traffic be spread over the 2 interfaces in a round robin fashion?

Also regarding the routing, if I have ce0 and ce1 in an ipmp group on one network, and another network on ce3, will the box know to route packets for the network on ce0/1 out the right interface without having to specify multiple gateways?
# 5  
Old 11-02-2010
It sounds like you might want to setup link aggregation (ce0 and ce1) will be bound as aggr0. Look up the command dladm. If you choose to setup link aggregation, the corresponding ports on the switch will have to be configured as well.

Yes, each network needs it's own default gateway, look at /etc/gateways.
# 6  
Old 11-03-2010
Quote:
Originally Posted by Actuator
If I use an IPMP group and place both interfaces in it, will all outbound traffic be spread over the 2 interfaces in a round robin fashion?
Overall outgoing traffic will be spread over both interfaces but not necessarily on a round-robin fashion. Especially if they have different speed.
Quote:
Also regarding the routing, if I have ce0 and ce1 in an ipmp group on one network, and another network on ce3, will the box know to route packets for the network on ce0/1 out the right interface without having to specify multiple gateways?
I think so as you do not need to specify the interface to use when configuring either the default or a specific gateway.

---------- Post updated at 11:27 ---------- Previous update was at 11:25 ----------

Quote:
Originally Posted by jim mcnamara
Are you trying to make a bridge - machine that connects to two subnets?
A bridge works at the link layer, not at the IP one. What you describe is a router / gateway.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy multiple .txt files from one server to another server

:wall:Hi all, I have two servers : server A and server B Weekly wise i use to receive files to server A to one particular location say /source/location . NOTE: In this location there will be other files also present other than these weekly arrival 18 files. My task : i need a... (7 Replies)
Discussion started by: karmegam
7 Replies

2. Shell Programming and Scripting

Shell Script for viewing multiple logs from multiple server

I am new to Shell scripting and below is my requirement. I need to search some specific word e.g. "exception" or "transaction" from log file. We have multiple env e.g. Level1 , Level2 etc and each env have Multiple boxes e.g. For Level 1 env we have "test11.test.com" , "test12.test.com". Each... (1 Reply)
Discussion started by: peeyush
1 Replies

3. Ubuntu

Routing trouble between multiple networks

Hi everyone, Hopefully there is someone here that can help me with the problem I got. At my office I have 1 ubuntu firewall/gateway and several networks. On the firewall/gateway I have three network cards, one for internet, one for network 192.168.100.0 and one for network 172.20.1.0 We... (0 Replies)
Discussion started by: thbor83
0 Replies

4. Shell Programming and Scripting

FTP multiple files from one server to one server

Hi, I'm new to shell script..I have one requriement like - In one server have more than one files,I want to ftp those files to some otehr server.. Ex : test1.pdf test2.pdf Please suggest me how to do (3 Replies)
Discussion started by: venkaswa
3 Replies

5. IP Networking

How to create Local IPv6 and IPv4 networks by using ubuntu server as router

Hi, I have two Cent OS Linux systems and one Ubuntu OS system contains two Ethernet Cards. I need to create two networks by using Ubuntu sys as router. One network need to configure in IPv4 addresses and another network should configure in IPv6 addresses. Please help me how to configure two... (0 Replies)
Discussion started by: hanuma614
0 Replies

6. Shell Programming and Scripting

Connecting to multiple unix server from unix server using shell script

Hi Gurus, I'm a unix newbie and I would like to connect to multiple unix servers from unix server using shell script i.e from server a to server b,c,d etc. I want to copy the files from unix server a to server b, c, d. I can access staright using ssh without the need to have password and user... (5 Replies)
Discussion started by: sexyTrojan
5 Replies

7. Shell Programming and Scripting

Copy file from one server to multiple server

can some one help me to write a shell script that copy one file from one server to multiple server ex:suppose i wnt to copy file abc.txt which is in server 1 to server2,server3,server4....:confused: (6 Replies)
Discussion started by: alokjyotibal
6 Replies

8. Red Hat

Designating Default Gateway for multiple networks/adapters

Hi I have 4 NIC's connected to my RHEL 5.3 server. Two on one subnet creating bond0, and two on a second subnet which create bond1. Both bonds are set to use DHCP to obtain IP addresses. Here is the config file for ifcfg-bond0: DHCP_HOSTNAME=rrnltshckvmx001 DEVICE=bond0 BOOTPROTO=dhcp... (2 Replies)
Discussion started by: Padow
2 Replies

9. Shell Programming and Scripting

FTP multiple files from remote server to local server

Hi, I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies
Login or Register to Ask a Question