12-09-2011
If they're using different gateways, internet traffic should just go where it's proper destination is. (Unless you're using a proxy, which would mess up its ability to tell which connection outgoing traffic belongs to.) The switch shouldn't care.
If both routers are serving DHCP, they'll of course interfere with each other when plugged into the same switch. Only one of them should be allowed to serve DHCP, probably your 'client' connection, configure your server statically.
Local traffic would be trickier. They'll be running on the same wire, so they could talk directly if they tried, but not being on the same subnet means they'll just forward it to their gateway instead, which won't work. The switch, which doesn't care at all about IP addresses, won't notice or care.
You could make it all one big happy 255.255.0.0 subnet, which would allow 192.0.0 and 192.0.10 to communicate without routing. Or you could give your clients static routes to talk to the other subnet. Or your server could be given 192.0.0 and 192.0.10 addresses on the same card so your clients don't have to talk to a "foreign" subnet.
Last edited by Corona688; 12-09-2011 at 12:13 PM..
8 More Discussions You Might Find Interesting
1. Linux
how can i see active network connections (1 Reply)
Discussion started by: youmna
1 Replies
2. IP Networking
Hello,
I have a centralized syslog server, and am wondering if there is a way to log all network connections to it (Primarily incoming, such as FTP, httpd, SSH, etc). Essentially what I would like is to get the information seen in netstat or lsof logged line by line, realtime. Is there a... (3 Replies)
Discussion started by: abstrcrndm
3 Replies
3. Linux
Hi,
I have a question on web servers and network switches.
Why a network switch should support certificate management, that means generating public and private keys... installing a certificate etcetra.
Regards
Chaitanya. :b: (4 Replies)
Discussion started by: chaitus.28
4 Replies
4. IP Networking
I rotate between a static lan, dhcp lan, and various wireless networks daily. Is there a way to set preferred network connections? I use some static ip's daily, some static ip's like once a month, and almost never use the dhcp lan. The same I do with my various wireless networks. Some I use daily... (0 Replies)
Discussion started by: cokedude
0 Replies
5. Shell Programming and Scripting
Could you help me writing a script showing which network connections are currently active?
Means output should be something like:
"eth0, wlan1, wlan3"
Problem:
The output is supposed to happen on a 16x2 LCD Display.
Currently I am doing a "Ifconfig" as output, but its too fast for the... (2 Replies)
Discussion started by: lordofazeroth
2 Replies
6. UNIX for Advanced & Expert Users
I have a static IP 47.21.154.146 and two computers which I wish to talk to each other. The two IPs are 198.168.1.5 and 198.168.1.6.
How do I do it. For example ls from one computer to the other.
TIA (8 Replies)
Discussion started by: Meow613
8 Replies
7. Red Hat
i have been learning linux from some time for linux plus exam and learned SSH protocol and have practised to connect to remote computer within Lan network and able to sucesssfully connect it .
using
ssh username@hostname
But i wish to ask how do i use same ssh protocol to connect to other ... (6 Replies)
Discussion started by: lobsang
6 Replies
8. Solaris
hello, I have a problem when configuring the network at the LDOM level, on a SPARC-Enterprise-T5120 machine
The network goes through VLAN 503 (level, network tagget)
And I need to give network to the guest domain: madarrwebsol10
I hope someone can bring some light ....
Excuse my English ...
... (4 Replies)
Discussion started by: Wittman
4 Replies
LEARN ABOUT DEBIAN
ipsec_version
IPSEC_IPSEC_VERSION_CODE(3) Library Functions Manual IPSEC_IPSEC_VERSION_CODE(3)
NAME
ipsec_ipsec_version_code, ipsec_ipsec_version_string, ipsec_ipsec_copyright_notice - get IPsec version code, full version string, copyright
notice
SYNOPSIS
#include <freeswan.h>
const char *ipsec_version_code(void);
const char *ipsec_version_string(void);
const char **ipsec_copyright_notice(void);
DESCRIPTION
These functions provide information on version numbering and copyright of the Linux FreeS/WAN IPsec implementation.
Ipsec_version_code returns a pointer to a string constant containing the current IPsec version code, such as ``1.92'' or
``snap2001Nov19b''.
Ipsec_version_string returns a pointer to a string constant giving a full version identification, consisting of the version code preceded
by a prefix identifying the software, e.g. ``Linux FreeS/WAN 1.92''.
Ipsec_copyright_notice returns a pointer to a vector of pointers, terminated by a NULL, which is the text of a suitable copyright notice.
Each pointer points to a string constant (possibly empty) which is one line of the somewhat-verbose copyright notice. The strings are NUL-
terminated and do not contain a newline; supplying suitable line termination for the output device is the caller's responsibility.
SEE ALSO
ipsec(8)
HISTORY
Written for the FreeS/WAN project by Henry Spencer.
21 Nov 2001 IPSEC_IPSEC_VERSION_CODE(3)