0
votes
0answers
6 views

Selectively routing packets over a virtual interface with iptables?

To use multiple IPs on a linux computer with single ethernet card I need to use different MAC addresses for each interface or the dhcp server doesn't respond. eth0:0.. virtuals do not work as they ...
0
votes
2answers
29 views

Route/NAT/Port forwarding for one port only?

I'm not sure what is the correct term to use and I don't know what tools should I use. The only thing I have is a goal which I'd like to accomplish. I have two linux machines(A and B) and a remote ...
1
vote
0answers
21 views

setting up linux routing table for mutliple wifi connections

I would like to increase the speed when downloading large files on a public hotspot by using both a built-in wifi-adapter (wlan0) and a wifi-usb-stick (wlan1). As bonding wifi-devices does not seem ...
0
votes
1answer
16 views

Linux gateway / DNAT: restrict to certain interfaces

I have various machines with a number of network interfaces: eth0: a local LAN eth1: sometimes used for the connection to the Internet gateway ppp0: Modem uplink as an alternative to eth1 tun0: ...
0
votes
0answers
20 views

Debian routing with multiple connections

In the past I had my router at home (debian server) who was acting as a DHCP server, DNS server and NAT between Internet and my network. Now, I need to replicate this at the office where I work. ...
0
votes
1answer
22 views

What does gateway mean in linux route table?

Does it mean the next hop of the route? Can the gateway be the next next hop, if there is an internal router in the private network?
1
vote
1answer
39 views

Iptables configuration to allow Steam Client

I recently got and setup a small linux (Debian) router box. I'm adding it to an existing network to create a small subnet with specific properties, namely internet content filtering. I'm highjacking ...
0
votes
0answers
30 views

Routing issue from virtual machine in weird network situation

I have a a bit complicated network topology I have a router from my ISP with the network 100.0.0.0/24, the router's IP is 100.0.0.1 My own Linksys router has 100.0.0.2 plus 192.168.1.1 for my LAN I ...
0
votes
0answers
32 views

ICS from ethernet over WIFI through a router to a single host

I have two laptops and some other devices in a LAN in which I have a small WIFI router. The two laptops communicate with each other over WIFI through the router. Beside the wifi connections there is a ...
0
votes
3answers
52 views

What does asterisk meant in route command

I have two network interfaces present in two different subnets and are configured as DHCP. When I run route command I am getting following output with asterisk in Gateway. What is the meaning of it? ...
0
votes
2answers
64 views

Default route in quagga doesn't work if specified using interface rather than address

I have the following zebra.conf on my router box "A": hostname nuclear-router password password enable password password interface eth0 ip address 192.168.2.1/24 multicast no shutdown interface ...
0
votes
2answers
54 views

static routing table behaviour with gateway set to * (linux)

I have the following routing table for a linux PC. (I already enabled ip_forward option) Destination Gateway Genmask Flags MSS Window irtt Iface 10.0.1.0 10.0.1.11 ...
0
votes
1answer
58 views

Route all trafic for specific ip over specific network interface

I have a linux server that needs to get some routing. I'm fairly new at this and i don't find any clear source on google. The setup should be simple: All traffic to a server on ip 192.168.72.20 ...
0
votes
2answers
115 views

Redirect some IP to localhost

Can I use route or some other tool to tell my linux box that it should connect to localhost instead of a given IP (of some other machine on the internet, not on the same subnet)?
2
votes
2answers
170 views

How to send out some traffic via my vpn connection

I had a working setup where I could access all my work resources which are accessed via VPN going via my server previously however at some point recently this stopped working for no obvious reason. ...
0
votes
0answers
62 views

Unable to ping machines on my network with embedded linux system

I am running an embedded linux setup on an x86 board. I am trying to connect to 2 of the company networks. I have configured this using the information from my network specialist using the following ...
0
votes
0answers
58 views

IPTables masquerading stops working

In a classical SOHO setup I am running a Debian box as router/firewall. For an unknown time now I have an issue, where the MASQUERADING on the output connection (PPPoE) stops working for one of the ...
1
vote
0answers
148 views

iproute nexthop not working - defining multiple default gateways

I have several point to point connections and I'd like to use all of them as default gateways. I saw this link which explains how to do this using load balancing by calling ip route with a nexthop ...
2
votes
1answer
78 views

How to NAT a Windows PC through a Linux server?

I have to NAT a Windows PC with IP 10.10.10.10 through a Linux server with two network cards. The IP addresses of the NICs are 20.20.20.50 (connected to an external network) and 10.10.10.9. The second ...
1
vote
1answer
151 views

What routes must be set (in Linux) to allow Internet access through given interface without setting it default?

I am trying to solve a task with routing and OpenVPN's configuration. After setting the connection, I don't want it to become defaut route to anything, but rather want to use its interface for this ...
0
votes
1answer
66 views

How to route specific network to a virtual machine?

I have the following configuration: Linux machine with ip 10.0.0.99 bridge over a virtual interface with ip 192.168.0.1 linux in a lxc container over the bridge with ip 192.168.0.2 vpn on the ...
0
votes
0answers
146 views

How to use ip rule and ip route commands for IPv6 addresses?

For IPv4 we use: ip rule add from (ipv4 address) table 60 ip route -net (ipv4 address) mask (ipv4 mask) (interface number) How do I use the ip rule and ip route commands for IPv6 addresses?
2
votes
3answers
137 views

Create ethernet loop network - how to configure routes

I have a network that has to be configured as a loop. It consists on 3 nodes each of which has two interfaces. The diagram below explains it. +--->(eth0) Node 1 (eth1)--->(eth0) Node 2 ...
0
votes
0answers
193 views

Route eth0 to internet traffic and eth1 to local traffic

How can I route all my internet traffic on eth0 (everything except 192.168.1.0/24) and route my local traffic through eth1 (192.168.1.0)? Here is my attempt : # Flush ALL THE THINGS. ip route flush ...
-1
votes
1answer
120 views

How to read the route table?

Host: win8 ip: 192.168.1.102 Virtual Machina: gentoo ip:192.168.1.108 I type the command route -n to see the route table. The route table is : root@gentoo-jl ~ # route -n Kernel IP routing ...
1
vote
1answer
234 views

Change the default route without affecting existing TCP connections

Let's say I have two public network addresses on my server: one NAT through an ISP (192.168.99.0/24), and a VPN through a different ISP (192.168.1.0/24), already configured with a per-host route to ...
0
votes
1answer
40 views

ip route show src filed

I read the man page of ip and still do not understand what src is and I could not find much documentation. Please, if you can explain it thoroughly or point to some link it a good answer.
1
vote
2answers
3k views

How to force add a route in linux

If I try to add a route with route add dest X.X.X.X mask 255.255.252.0 gw X.X.X.X I get dest: Unknown host message. Nothing changes even if I add the -n switch, which I believe should prevent route ...
1
vote
1answer
37 views

Route networktraffic target dependent to different networkadapters

is it possible (Ubuntu and Windows) to create the following rules: If target="192.168.*" use eth0 If target="*" use eht1 // default, the rest that doesn't match another rule
1
vote
0answers
300 views

Routing table on Linux not respected

I have a very specific problem, building a Linux VPN endpoint (with external VPN Gateway), which should route certain networks over the tunnel, others via default gateway. The Linux VPN should do a ...
0
votes
1answer
73 views

Multiple interface issue

We have an externally-accessible subnet on which all our desktops and a few servers sit. Due to a lack of IPs, we put the servers (which don't need to be externally accessible) on a private subnet and ...
1
vote
0answers
133 views

Routing specific IP/block to VPN and the rest to net_gateway in OpenVPN

VPN is working properly. However, I wanted to route only a specific IP/block to net_vpn and all the rest of the traffic to net_gateway. route 192.168.1.0 255.255.255.0 net_gateway route 10.8.1.0 ...
0
votes
1answer
255 views

How to configure IPv6 routing from other computers to Teredo client in Linux

My computer (also router) uses Teredo to access and be visible on IPv6. How to assign neighbor IPv6 addresses to other computers for them to be able to be routed to Teredo using the router? What ...
0
votes
0answers
43 views

how to run an AFS file server on a specific ethernet card (in Debian)

I have a linux box running Debian server with minimal number of packages (so no GUI for network management). The box has two ethernet cards, one of which (eth0) is connected to a Mac OSX computer ...
0
votes
1answer
536 views

How to route traffic via another machine before the default gateway

At the moment I have a router on 192.168.0.1, a Linux box on 192.168.0.2 and desktop clients from 192.168.0.3. Everything works with 192.168.0.1 as the default gateway. I'd like to send the traffic ...
1
vote
2answers
913 views

Linux route add between static LAN and Wifi Gateway

I have two local machines connected to each other via wired ethernet and one of those machines is also connected to a wifi network which provides internet access. A pseudo-graphical representation ...
1
vote
0answers
113 views

Linux route/IPtables with internal VM network

I am having some trouble figuring this all out. I have Windows 7 [10.10.30.1] ROUTER [eth0=192.168.4.134 eth1=10.10.30.254] Ubuntu [192.168.4.143] I can ping eth0 and eth1 from Win7, and also ...
1
vote
1answer
142 views

linux route command not working

I use route command to add new route in my routing table. But it my new root is not added. Also it doesn't show any error for my command. Here is the console #route add ::/0 via fe::2 route: ...
1
vote
1answer
579 views

Run script after all interfaces were up in Debian

In order to setup a load-balanced permanent routes in debian, according to this article, i have to run the following command ip route add default scope global \ nexthop via 10.100.0.254 dev eth0 ...
2
votes
0answers
221 views

Multiple SSH Connections over different connections

I have a Linux box with a couple of 3G/HSDPA modems, seen as network connections, and i would like to get each to connect to a server over SSH. The server could be the same server, and i would need ...
0
votes
1answer
139 views

Slackware - Assigning routes (IP address ranges) to one of many network adapters

I am using a Slackware 13.37 virtual machine within VirtualBox (current). I currently have a number of Ubuntu VMs on a single server, along with this Slackware VM. All VMs have been set up to use ...
0
votes
0answers
259 views

Route one network client to VPN server via a Linux gateway server

I have a Ubuntu server (Ubuntu 10.04.4 LTS) acting as a gateway to my home network. I set up a VPN connection with the linux-pptp client and now have it as an interface on my home server. ppp0 ...
1
vote
1answer
312 views

Linux Iptables Routing

I need help with a problem. My setup is: CentOS (Router) eth1 18.0.168.1 255.255.248.0 eth2 145.165.34.1 255.255.254.0 Windows Server 2008 18.0.168.2 My problem is from the Windows machine, I ...
2
votes
1answer
256 views

routing a secondary IP-addr. of a different private network on the same interface

Typical home-networking xDSL setup on a TG782 router/gateway. Hosts on the local private network are allocated IP-addresses in the range of 192.168.1.0/24 and can get to WAN through the aforementioned ...
0
votes
0answers
291 views

routing to the internet outside an IPsec VPN tunnel

After establishing an IPsec VPN tunnel all traffic is routed to the remote endpoint, while I only need to route the packets destined to that internal network and still be able to access the Internet ...
1
vote
1answer
311 views

Routing HTTP traffic over SSH

I need to access the URL http://REMOTE:54000. My network does not allow outgoing connections on port 54000. However I have SSH access to a host "TRUSTED", which does not have any such restrictions. Is ...
0
votes
0answers
1k views

Cannot delete a route in redhat linux

I have the following entry in a redhat linux machine to reject the private network route: Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 - ...
4
votes
1answer
792 views

iptables vs route

What's the difference between these two tools? Can anybody tell me what the main workflow of networking behind Linux (in relation to IPv4 packet filtering, NAT and IP routing table) is?
0
votes
1answer
1k views

IPv6 source address selection and routing in Linux

I'm in the process of setting an ipv6 on my test network. I work with a /56 network and CentOS 6.2. I have an interface with 2 IPv6 addresses on 2 different networks : 2b0 1:abcd:4001:c00::30/56 ...
3
votes
1answer
1k views

VPN routing issue in linux- how to make applications that can only bind to IP addresses work?

Right now I have a PPTP VPN set up on my remote ubuntu VPS. I would like to have certain applications use the VPN to access the internet (rtorrent, irssi, among others). Currently, it is set up like ...

1 2