I used command
iptables -t nat -I POSTROUTING -o $INTERFACE -p tcp -j SNAT --to-source $IP
to make my server packets visible as $IP.
But the problem is, that it didn't work inside local area, so when I'm sending something to address 10.X.X.X, then I'm not visible as $IP, but as older IP.
EDIT:
There are 3 interfaces:
auto eth0
iface eth0 inet static
address 46.X.X.152
netmask 255.255
I have a linux box with 9 NICs on it, and I want eight of them to have unique addresses on the same subnet, e.g.:
ifconfig eth1 192.168.123.1 netmask 255.255.0.0
ifconfig eth2 192.168.123.2 netmask 255.255.0.0
ifconfig eth3 192.168.123.3 netmask 255.255.0.0
...
ifconfig eth8 192.168.123.8 netmask 255.255.0.0
The default ARP behaviour is extremely counterproductive in this case, since it results
Dear community,
I have set up my OpenVPN configuration in such a way that I can log in from remotely (via the Internet) to my local network. However, as I am very lazy (problem one), I only want users to use one set of certificates, but forcing them to log in with their own username and password that is on an LDAP server somewhere within my local network.
Hi i ordered a new ip adresse for my server and now i have a problem with the config.
Main IP is 5.xx.xx.xx, the new ip which i have ordered is 46.xx.xx.xx.
So anyone can tell me where i did a mistake?
OS: Debian6
Host:OVH
auto lo
iface lo inet loopback
auto eth0 iface eth0 inet static
address 5.xx.xx.xx
netmask 255.255.255.0
network 5.xx.xx.0
broadcast 5.xx.xx.
Hello, I'm having some problems to setup 2 external (non-local) IPs in a server.
I've one Netra 240
After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces.
I tried to restart and plumb/unplumb with no luck.
Code:
ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
 
Im using an old dell tower as a server and im trying to give it a static IP and when i opened the file "etc/network/interfaces" all i got was "auto lo" settings, no "auto eth0"?
Because of a bug in Ubuntu 11.10 it is not possible to bridge NIC's as of this writing, so I assume that I have to bridge and setup ucarp in /etc/rc.local.
I can bridge eth0 just fine with
ifconfig eth0:1 10.10.69.19 netmask 255.255.252.0 broadcast 10.10.71.255
so I have to convert the rest of the ucarp config from /etc/network/interfaces which is
# used for ssh
auto eth0
iface eth0 inet stati
I have Debian 6.0.