06-07-2010
Assign a different IP address to eth0 on each of the machines, say 192.168.1.2 and 192.168.1.3
Connect the two network cards together with a cross over ethernet cable, or, if your router has multiple LAN ports, plug each computer network card into the LAN ports on the router with a standard ethernet cable.
This User Gave Thanks to jgt For This Post:
9 More Discussions You Might Find Interesting
1. IP Networking
Hello all
this is general question , if i have web server installed in my local pc and i have client that connecting to that web server
can i force it always to go via the internet network ?
the reason im asking is .. that im noticed when i close my internet connection i still can connect to my... (2 Replies)
Discussion started by: umen
2 Replies
2. Gentoo
hello all,
anyone can point to some good basic tutorial/howto (independent, not specific to any distro) about how to install linux over LAN from one PC with working linux distro to another PC without cdrom and floppy-just over LAN?
Thanks in advance ! (2 Replies)
Discussion started by: vampirex
2 Replies
3. IP Networking
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. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
5. Linux
Hello everyone,
I have question how i can setup local ipv6 network ? Here is my network:
I have main ipv6 gw and server X for example that is connected with my main ipv6 gw and all ping6, traceroute6 is working. My local network is connected to one switch and main ipv4 gateway is that server X... (2 Replies)
Discussion started by: gild
2 Replies
6. Shell Programming and Scripting
Hello guys,
I would like to develop a script which takes a host name as argument and displays a message whether the host is on the local network or not. How can I accomplish that? Is there a file or command that I can use to list all host on the local network? :confused: (4 Replies)
Discussion started by: Learn4Life
4 Replies
7. UNIX for Dummies Questions & Answers
I am using ubuntu 12.04.03. I have some basic experience with webpy and I had it working for my LAN just by following the tutorial. The framework needs to be able to be used from outside the local network. I have difficulty seeing how to make the framework accessible from outside the lan. I tried... (10 Replies)
Discussion started by: frad
10 Replies
8. Shell Programming and Scripting
Hello,
i need some help. I have a Debian machine in network, which is a web server.
I need to copy every day files from local network to MySQL table. Now it is done manually and i am just adding them from web panel (backend) and saving it's binary, extension and etc.
Can i automaticly do this... (2 Replies)
Discussion started by: Dyrem
2 Replies
9. Red Hat
Dear All,
I have an intel NUC running CentOS 7 and physically connected to my Netgear CBVG834G router.
They both have Gigabit Ethernet cards and supposedly a top notch network cable connecting the two devices.
But when I run ethtool the connection is only running at 100Mbit/s
What can I do... (3 Replies)
Discussion started by: freddie50
3 Replies
LEARN ABOUT DEBIAN
network_namespaces
NETWORK_NAMESPACES(7) Linux Programmer's Manual NETWORK_NAMESPACES(7)
NAME
network_namespaces - overview of Linux network namespaces
DESCRIPTION
Network namespaces provide isolation of the system resources associated with networking: network devices, IPv4 and IPv6 protocol stacks, IP
routing tables, firewall rules, the /proc/net directory (which is a symbolic link to /proc/PID/net), the /sys/class/net directory, various
files under /proc/sys/net, port numbers (sockets), and so on.
A physical network device can live in exactly one network namespace. When a network namespace is freed (i.e., when the last process in the
namespace terminates), its physical network devices are moved back to the initial network namespace (not to the parent of the process).
A virtual network (veth(4)) device pair provides a pipe-like abstraction that can be used to create tunnels between network namespaces, and
can be used to create a bridge to a physical network device in another namespace. When a namespace is freed, the veth(4) devices that it
contains are destroyed.
Use of network namespaces requires a kernel that is configured with the CONFIG_NET_NS option.
SEE ALSO
nsenter(1), unshare(1), clone(2), veth(4), proc(5), sysfs(5), namespaces(7), user_namespaces(7), brctl(8), ip(8), ip-address(8), ip-
link(8), ip-netns(8), iptables(8), ovs-vsctl(8)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2018-02-02 NETWORK_NAMESPACES(7)