The routing tag has no wiki summary.
1
vote
1answer
12 views
What does the route Dest: 123.123.123.123, GW: 0.0.0.0 mean?
I have a route table:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
123.123.123.123 0.0.0.0 255.255.255.255 UH 0 0 0 ...
1
vote
1answer
25 views
Copy/Mirror traffic to WAN interfaces without “iptables tee” support
I want to copy every outgoing packet to other WAN interfaces but my iptables (v1.2.7) doesn't have TEE target support. I wonder if there is another way (maybe using iproute2 or ebtables) to copy every ...
4
votes
2answers
50 views
Is it possible to set-up a VPN in such a way that I disconnect from the Internet if it goes down?
How can I set-up a VPN so I loose connection to the Internet if it goes down? I use Ubuntu and have used the network-dialog to use a VPN; but if the VPN goes down, it just switches to the non-VPN ...
3
votes
1answer
44 views
What are the requierements to sniff UDP packets in a Wireless Ad-Hoc network?
In a wireless Ad-Hoc network,
I have two computers which communicates in UDP together from 192.168.1.3 to 192.168.1.5
I have a third computer (192.168.1.6) which wants to listen to the packets which ...
2
votes
1answer
76 views
Route only ssh traffic through VPN
Is it possible to route a computer's SSH service through a VPN connection but allow ALL other data to exit through the WAN address? What sort of iptables magic needs to be done to accomplish this?
...
1
vote
1answer
142 views
TP-Link TL-WR1043ND as dumb access point
I followed these instructions on how to set up my TP-Link TL-WR1043ND as a dumb AP:
Flashed brand new Attitude Adjustment 12.09-rc1
Logged into LuCI, set up a password
Disabled and stopped firewall ...
2
votes
1answer
53 views
Http proxy to select external interface based on host header
I have a very specific use-case at work where I have several external IP addresses (a full class C), and I need to select the outbound IP address I'm using. The requests are http, and the application ...
1
vote
0answers
47 views
ssh will sporadically hang temporarily on fast connection
I am using Ubuntu 13.04 on my laptop, connected to my router at home. When working from home, I will ssh into the servers on campus, through a vpn, with X11 forwarding.
ssh -X ...
1
vote
1answer
65 views
Routing 4 Networks
I've been trying for almost a week to make it work but without success. I'm starting to feel hopeless.
I have 4 Ethernet adapters :
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state ...
1
vote
2answers
56 views
Using a specifing gateway for a packet. (CentOS/RHEL)
I have just setup a machine which has two NICs, one for private network and the other one for public network which has a real IP assigned to it.
DEVICE=eth0
HWADDR=XXX
TYPE=Ethernet
UUID=XXX
...
1
vote
1answer
114 views
How do I route different users over different OpenVPN tunnels in Linux?
The setup:
I have multiple, static-key OpenVPN client/server configurations, labeled "client1", "client2", and "client3" with server/client IPs 10.10.1.1/10.10.1.2, 10.10.2.1/10.10.2.2, and ...
2
votes
3answers
83 views
Detect which interface traffic to an IP address goes through
I'm making an script, and I need to detect in what interface is the traffic of an IP going through. This is because in the arch, an IP address is attended only for one of four NIC's, but can be any of ...
0
votes
0answers
24 views
Channeling audio
I am trying to get an audio setup that looks like:
INPUTS:
1 stream from mpg123 (CLI MP3 player)
1 Microphone Input
OUTPUT:
1 stream going to Jitsi (Jabber w/ voice) to be broadcast.
1 connection to ...
1
vote
1answer
61 views
How can I configure dnsmasq to resolve based on the source of the request?
I'm trying to get SiriProxy to work whenever I'm connected to my home network by setting up dnsmasq on my router running the Tomato firmware to send all requests to the Apple Siri server to my local ...
1
vote
0answers
72 views
Network in LXC not forwading through a bridge
I've got an LXC container, on the host I've got a bridge between the LXC container and eth0.
The LXC container can ping it's Host 10.1.0.5, but can't ping the gateway of 10.1.0.2. The host is able to ...
3
votes
2answers
169 views
Use eth interface to connect to a router and wlan for the internet
I am currently trying to configure a router to which I connect to (to its web interface) using an Ethernet cable through the eth0 interface. That router doesn't have access to the internet.
Now, I ...
4
votes
2answers
247 views
Routing for multiple uplinks/providers
I have a PC with two internet connections. The first one is an Ethernet interface to connect to my local network and access internet via my router. The second one use a GSM modem to connect with ppp.
...
2
votes
1answer
65 views
Solaris 11: How to use ILB to create HA loadbalancer across two backend servers?
I'm attempting to use Solaris 11's ILB to create a loadbalancer across two backend DNS servers. Here's my requirements:
Two external IPs: .XXX.YYY, .XXX.ZZZ - these are the DNS IP's that our clients ...
1
vote
0answers
63 views
Network not working after fiddling with webmin
Can some please help me restore my networking? I have a VPS CentOS 6.3. Few minutes ago it was working well, Except I couldn't connect to the Yum repository. So I thought I could change some settings ...
3
votes
1answer
108 views
Alternative to mrouted for DVMRP on Debian Squeeze
I need to implement DVMRP protocol to route multicast over Openvpn (tun) connection for some old 3Com NBX phones.
I use Debian squeeze so mrouted is not available (obsolete).
What can I use ...
2
votes
1answer
97 views
How do I route traffic through specific interface for a specific process
I have a script that runs from cron every 15 minutes. The script is meant to ping my DNS server to update a dynamically changing IP. I want this script to ping through the wlan interface and not the ...
0
votes
2answers
205 views
Is /etc/resolv.conf needed when using a static IP address?
I am trying to configure the IP address of my embedded device. The device should have a static IP address and I attempt to set this using the /etc/network/interfaces file with
iface eth0 inet static
...
1
vote
2answers
99 views
2 ip ranges / 1 nic OR why does one ip range follow default route before local routes
Updated at the bottom
I'm using Centos as a router, and just replaced the routing system at work. I've got 2 routers to send data around. For the most part it's working. On one router I have 2 ...
2
votes
1answer
111 views
Linux nat/iptables configuration for a chain of peer-to-peer links
I have an experimental setup, of 4 Linux (CentOS) machines:
All 4 machines are internally connected using different networks and can ping eachother directly connected interfaces. However only PC4 ...
2
votes
1answer
112 views
Routing using second interface
I've got a machine I control running Ubuntu 12.10. I'm on a network that will only allow me to have one device connected. I've also got a USB ethernet adapter. I'd like to create a private network ...
1
vote
1answer
467 views
Only routing certain traffic through VPN
I have a central development server, running a VPN server, and a couple clients that need to connect to it. The server is running Apache, but is only accepting local requests (only listening on ...
2
votes
1answer
77 views
Make a linux network device a router
I am developing an IPv6 network device driver. It should behaviors like a router, i.e. send router advertisement regularly. But now my device is working like a node, send router solicitation. What ...
0
votes
2answers
123 views
Use a specific interface for a specific destination subnet (source IP setting)
I am looking for some sort of routing trickery to set a specific source IP:
Local machine has two IPs;
Eth1: 192.168.0.1
Eth1:2 192.168.0.2
Default gateway is 192.168.0.254 via Eth1
Remote subnet ...
1
vote
0answers
593 views
Debian, two network cards - “no route to host” on eth1
I have added a secound nic in a debian box. That nic is ment for doing some test stuff, so those devices connected should just be able to access the debian box or be accessed from it.
To set up the ...
1
vote
1answer
638 views
Redirect Packets from ppp0 interface to ethernet interface in linux
My question is similar to this question, however with some change.
I have a PPPoE connection on my Linux Machine (CentOS kernal 2.6.32) as a client, so that when I setup this connection, another ...
5
votes
3answers
446 views
How can I disable automatic IPv6 neighbor route advertisement on a router?
I work for an ISP that's in the process of making its infrastructure IPv6-ready. Our core routers already have a working setup, but a large portion of our fiber customers are behind a router running ...
5
votes
2answers
481 views
Change linux remote host *primary* IP address without losing control
I was wondering about how one could change a remote host primary IP address without getting disconnected at all (without being in a "no IP addr" state).
The matter is poorly discussed on Internet ...
4
votes
2answers
233 views
Why can I reach a different interface's IP address?
I'm wondering about this, and I can't seem to find an explanation on the internet.
I have a linux gateway which has multiple interfaces:
eth0: external ip
eth1: 172.16.1.1/24
eth2: 172.16.2.1/24
...
3
votes
1answer
384 views
Share Internet Connection from computer to new router
On my linux computer I have an external wlan adapter which is connected wirelessly to internet (an access point).
Now I want to connect my linux computer via ethernet cable to a new ddwrt router. This ...
0
votes
0answers
171 views
policy based routing [closed]
looking for good description (book) of Linux routing, especially policy based routing.
Need to implement some code which will set up routing on Linux based PC with multiple (more than 10) NICs. Also, ...
2
votes
1answer
163 views
PPTP server with NIC aliases
I have set up a VPN on a VPS Server using PPTP. I have one NIC with two aliases.
eth0
eth0:1
eth0:2
The 3 interfaces have public addresses. eth0 is a French IP, eth0:1 is UK, and eth0:2 is ...
2
votes
4answers
3k views
How to remove all default gateways
I'm commanding a customarily built linux machine so not all linux commands are available. I execute network related commands so I need to set a default gateway right before I run my command, then ...
9
votes
2answers
5k views
iptables --set-mark - Route diferent ports through different interfaces
Short story,
3 interfaces, eth0 (LAN), eth1(ADSL), eth2(4G).
eth0 -> eth1: Works
(ports 80, 443, 4070) eth0 -> eth2: Doesn't happen
This is a graphical representation of the idea:
Port 80 & ...
1
vote
4answers
600 views
Make nslookup use specific interface
On my computer I have two network cards. Both are using different Internet Providers service.
Both Internet service provider have different DNS server and their IP address are known to me.
I want to ...
2
votes
1answer
567 views
Static IP address shifting to 192.168.1.251
I have a system with a static IP address of 192.168.1.150. I configured /etc/network/interfaces manually (i.e. without using NetworkManager.) It is a web server hosting three sites. I am having ...
3
votes
1answer
119 views
Looking for elegant iproute2 solution for host w/ 2 interfaces on 2 networks and 3 gateways
I've got a Linux webserver with 192.168.0.2/24 assigned to eth0 and 172.16.0.2/24 assigned to eth1. I must not change this. Here's the routing so far:
172.16.0.0/24 dev eth1 proto kernel scope link ...
3
votes
2answers
260 views
Network interface preference
How does Linux determine which network interface to use, when both are connected to the same network?
Note that this isn't a question on routing. I'm familiar with how that works. This is if, say, I ...
6
votes
2answers
396 views
1:1 NAT with several identical LANs
I want to connect several LANs located on remote buildings.
The "central" site have a Linux computer running OpenVPN. Each remote site also run OpenVPN.
the central site has a LAN numbered ...
1
vote
2answers
262 views
OpenVPN uses wrong IP-Address
I've installed OpenVPN on a client (behind NAT-Router) and a VPS server. The tunnel is established. However, ping is only possible from client to server. The server uses its public IP address on tun0 ...
2
votes
1answer
413 views
Allow IP packet forwarding from LAN to modem via router
In short: I'd like to be able to telnet to my modem from my PC via my router.
There is a simple home router on 192.168.33.1. It is running OpenWrt. It has the following interfaces defined:
br-lan ...
1
vote
1answer
200 views
Firewall/routing rule in Centos for this setup
I have two ethernet interfaces, namely eth0 and eth1.
I want to implement an advanced routing rule but I am totally new to firewall/routing rules in CentOS.
Here is what I am trying to do:
Both my ...
3
votes
1answer
157 views
Using source routing (LSRR) - any ideas?
What I want to do is conceptually very simple, but I can't find any information or help about how to go about doing this.
Basically, I want to configure my networking to use source routing (LSRR). ...
2
votes
2answers
307 views
policy routing problem with load balanced ppp connections
This my setup using Debian 6.0.6. It's role is a proxy server and a load balancer using eight 3G modems.
First and foremost:
Whenever a ppp connection dials it takes over the default gateway which ...
1
vote
0answers
106 views
Unable to access internet if wireless enabled
The following is my route output. eth0 is my wired network and eth1 is my wireless network. Only wired one has access to internet. If I enable wireless, I am not able to access internet, it tries to ...
2
votes
2answers
587 views
Xen, bridge and multiple IPs on CentOS
There's a new server that is assigned 5 IP addresses. I want to use Xen to run several VMs with various services.
This is my first attempt to install Xen, I use this tutorial as a guideline. Stuck ...