Sponsored Content
Full Discussion: Dual network ports
Top Forums UNIX for Dummies Questions & Answers Dual network ports Post 30908 by RTM on Tuesday 29th of October 2002 12:14:38 PM
Old 10-29-2002
You can set up two ports (one for incoming and one for outgoing) between the two systems.

Here is how:

2 servers - S and N.
2 ports on each - I and O.

On S, set port I to 172.16.1.10 and port O to 172.16.1.20
Add a route for 172.16.x.x to 172.16.1.20. Adding the route will be setting that port to be outbound (any traffic for 172.16.x.x goes out that port).

Set the IP of the I port to be the known IP for the system by adding it to DNS or in the /etc/hosts of the other server(s). Then all incoming traffic should hit the I port.

Do the same (if possible) on the N server.

The only thing I don't know is if any software will have a problem with it since the 'stream' will be coming back from a different IP.

I know SUN used to have a software product to take the 4 ports of a qfe card and assign the same IP (to get 200 incoming and 200 outgoing )but I don't think it can be done with normal commands. Sorry, don't remember much more about it.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

telnetd: all network ports in use

I hope someone can enlighten me on this. A few weeks ago, the root file system my UnixWare 7.1.1 server became corrupt so I ended up doing a full restore of the OS from tape backup. Since then, after I get about 270 users on the system, the message "telnetd: all network ports in use" is... (1 Reply)
Discussion started by: davekox
1 Replies

2. Solaris

Dual IP configuration with two different network card

I am trying to configure dual IP each on different interfaces (ce0, ce2) with one logical/virtual IP. I can ping all three IP but can not TELNET to any of them. Here is all the information: ********************************************************* root@osssvr # more /etc/hosts # # Internet host... (2 Replies)
Discussion started by: dr.adnan.sarwar
2 Replies

3. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

4. Hardware

Identifying Network Ports

OK, so I have a real dumb question, but I am desperate for an answer. If my Sun machine shows the following out put. root@xxxx:/# egrep network /etc/path_to_inst "/pci@1f,0/pci@1,1/network@c,1" 0 "eri" "/pci@1f,0/pci@1,1/network@5,1" 1 "eri" Does that indicate that there is one eri... (2 Replies)
Discussion started by: Tirmazi
2 Replies

5. Linux

nix User Access Restrictions to Network, USB ports, PCMCIA, CDROM

How to create a user account on a Linux desktop machine with restrictions on connecting to the LAN, WAN, PCMCIA ports, Firewire, CDROM and generally any user controllable output options? I have the task to set up a machine for users working with sensitive data that should not be leaving the... (1 Reply)
Discussion started by: netfreighter
1 Replies

6. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

7. Hardware

Fedora 16 dual monitor - dual head - automatic monitor shutdown

Hi, I am experiencing troubles with dual monitors in fedora 16. During boot time both monitors are working, but when system starts one monitor automatically shut down. It happend out of the blue. Some time before when I updated system this happend but then I booted older kernel release and... (0 Replies)
Discussion started by: wakatana
0 Replies

8. Red Hat

Network becomes slow and return fast only after restart network

Hi, I have 2 machines in production environment: 1. redhat machine for application 2. DB machine (oracle) The application doing a lot of small read&writes from and to the DB machine. The problem is that after some few hours the network from the application to the DB becomes very slow and... (4 Replies)
Discussion started by: moshesa
4 Replies

9. Linux

Ports,number of slots,network devices - UNIX

Hi All, Can someone help me in finding out below information from ReHat linux,Solaris,AIX, hp-ux machine : 1. How to find total number of ports in supported by each slot. 2. name of ports that are used to transmit data to the printer 3. total number of slots on a network device (2 Replies)
Discussion started by: omkar.jadhav
2 Replies
RFC6056(7)					       BSD Miscellaneous Information Manual						RFC6056(7)

NAME
rfc6056 -- port randomization algorithms DESCRIPTION
The rfc6056 algorithms are used in order to randomize the port allocation of outgoing UDP packets, in order to provide protection from a series of ``blind'' attacks based on the attacker's ability to guess the sequence of ephemeral ports associated with outgoing packets. For more information consult RFC 6056. The individual algorithms are described below: The RFC 6056 algorithms The following algorithms are available: bsd This is the default NetBSD port selection algorithm, which starts from anonportmax and proceeds decreasingly through the avail- able ephemeral ports. random_start Select ports randomly from the available ephemeral ports. In case a collision with a local port is detected, the algorithm proceeds decreasingly through the sequence of ephemeral ports until a free port is found. Note that the random port selection algorithms are not guaranteed to find a free port. random_pick Select ports randomly from the available ephemeral ports. In case a collision with a local port is detected the algorithm tries selecting a new port randomly until a free port is found. hash Select ports using a md5(3) hash of the local address, the foreign address, and the foreign port. Note that in the case of a bind(2) call some of this information might be unavailable and the port selection is delayed until the time of a connect(2) call, performed either explicitly or up calling sendto(2). doublehash Select ports using a md5(3) hash of the local address, foreign address, and foreign port coupled with a md5(3) hash of the same components obtained using a separate table that is associated with a subset of all outgoing connections. The same considera- tions regarding late connection as in the case of hash apply. randinc Use random increments in order to select the next port. SYSCTL CONTROLS
The following sysctl controls are available for selecting the default port randomization algorithm: sysctl name Type Changeable net.inet.udp.rfc6056.available string no net.inet.udp.rfc6056.selected string yes net.inet6.udp6.rfc6056.available string no net.inet6.udp6.rfc6056.selected string yes SOCKET OPTIONS
The socket option UDP_RFC6056ALGO at the IPPROTO_UDP level can be used with a string argument specifying the algorithm's name in order to select the port randomization algorithm for a specific socket. For more info see setsockopt(2). SEE ALSO
setsockopt(2), sysctl(3), sysctl(7) HISTORY
The rfc6056 algorithms first appeared in NetBSD 6.0. BSD
August 25, 2011 BSD
All times are GMT -4. The time now is 07:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy