The tag has no wiki summary.

learn more… | top users | synonyms

13
votes
2answers
13k views

How to set up dual wired and wireless connections?

My laptop has both wireless and a wired connection capabilities. Can I connect to a router A using wireless and a separate router B using wired ethernet at the same time without having to switch back ...
10
votes
2answers
21k views

How to make IP forwarding permanent?

I know that I can enable IP forward by echoing 1 to /proc/sys/net/ipv4/ip_forward, but how can I make this permanent? By the way I want another method rather than start up scripts, is there any?
9
votes
3answers
44k views

How to set static routes in 12.04 Server

I have used Ubuntu since Ubuntu 8.10; today I'm working with Ubuntu 12.04 Server. I am having difficulty keeping static routes on booting. I would usually put the route commands /sbin/route add ...
8
votes
2answers
788 views

How to tell what interface a TCP connection will go out on?

I have a server with multiple ethernet interfaces. What's the easiest way to tell what interface an outgoing TCP connection will go out over? The results of "netstat -rn" is greek to me, so if your ...
7
votes
2answers
3k views

Sharing an internet connection through the Ethernet port

I have a small living room PC (Bohica, running fully-updated Ubuntu 10.10/Maverick) connected to my HDTV that I use for web browsing and media streaming. It connects via WiFi (wlan0) to my Fedora ...
6
votes
2answers
3k views

Connecting to other LAN computers using their names

I have a LAN at home with my desktop and my laptop. IP addresses are allocated dynamically to both, so the IP number keep changing. I try to connect from one to the other using places->Server, and in ...
6
votes
1answer
1k views

How is the loopback device implemented?

The loopback networking interface is a virtual network device implemented entirely in software. But how is this implementation actually accomplished and how do you manipulate it? As far as ...
6
votes
2answers
8k views

Default gateway changing

I am using 3 ethernet interfaces on Ubuntu but when I restart, the default gateway is changing to a different interface. Each time I boot I have to change default gateway back to the eth1 by deleting ...
5
votes
1answer
2k views

persist port routing from 80 to 8080

I use amazon EC2 instance which works via ubuntu. By default according security restrictions I can't bin my application to port 80, so I just bind it port 8080 and then set routing redirect from port ...
4
votes
1answer
9k views

Forwarding traffic between 2 interfaces

I have 2 VLANs connected to a 'router'. All the machines can ping other machines within their own VLAN and the router. The router can ping all of the machines. I am trying to get machines to talk to ...
4
votes
2answers
5k views

Use two networks at the same time?

I want to use Ubuntu 10.10 Server in a classroom, a computer lab whose bandwidth is provided by a local cable ISP. That's no problem, though the school network has an IP printer that I want to use. I ...
4
votes
1answer
7k views

How to route all internet traffic through Tor (the onion router)?

Could you explain how to route all internet traffic through tor? I am using Ubuntu I really don't know how to do it. Actually I am using tor for twitter only, and I'm afraid of DNS leak. So I need to ...
4
votes
2answers
16k views

Set up permanent routing (Ubuntu 13.04) [duplicate]

I have 2 connections: wlan0 (gw: 192.168.1.1) and eth0 (gw: 192.168.2.1). My default connection is wlan0, but I wanted some websites load through my eth0, so I set up routing for those websites/IPs ...
4
votes
1answer
2k views

Ubuntu Server 12.04 as a router. Problem with DNS?? Or Routing table?

I have a virtualbox lab made up of 4 Windows 2008 R2 servers (DC/DNS,SQL,SHAREPOINT, EXCHANGE) that are configured with static ip addresses with NIC's attached to Internal network. Everything works. ...
4
votes
1answer
10k views

Understanding my route table

this isn't programming at all, but I've seen related topics so I thought why not. I am using ubuntu and currently trying to learn basic networking. I read a lot of theory, so I understand the terms ...
4
votes
1answer
1k views

Hybrid wireless network repeating

Summary: I'd like to use two Ubuntu computers to extend/compliment an existing wireless access point. I have a network which currently looks a bit like this: What the diagram doesn't show is the ...
3
votes
1answer
11k views

Two Network cards and ip forwarding

I want to make "Ubuntu 11.10" act as a router. I have two LAN interfaces. Let's say interface A' IP is 172.16.1.10 ; interface B's IP is 192.168.1.10. How can I configure Ubuntu so that ...
3
votes
2answers
9k views

How to setup multiple WANs with load balancing?

What is the best way to setup multiple WAN's into a Ubuntu distro and load balance? I have two internet connections, one static and one dynamic and I need to combine and load balance them. I have been ...
3
votes
2answers
449 views

How to find the size of internal routing table efficiently?

I need to know how we can find the size of the kernel routing table. I have knowledge that the routing table is stored in /proc/net/route I am presently using wc to count the number of characters in ...
3
votes
1answer
4k views

How to set routes for my vpn connection

In my previous question I was asking about setting up vpnc connection. I've installed network-manager-vpnc so now I can configure all this stuff right from network manager gui. I have got this pretty ...
3
votes
1answer
159 views

Using Ubuntu 14.04 as router with iptables, clients can't go online. Probably DNS issue, iptables setting needed

CORRECTION 3: SOLVED! I needed to add the the official DNS server of my departement's VLAN as DNS to the clients. I've read through a large number of posts about iptables issues when using Linux as ...
2
votes
1answer
382 views

Network Manager breaks manual routes

I have Ubuntu 13.10, Saucy Salamander x64 running as a guest in VirtualBox (with Windows 7 as a host). I wrote this /etc/network/interfaces because I need to add a large number of permanent, manual ...
2
votes
1answer
2k views

Weird issue with iptables redirection

I am trying to redirect all incoming traffic on UDP port 5060 to port 56790, and all outgoing traffic from 5060 to the port 56789. I used these iptables rules: iptables -t nat -I PREROUTING -p udp ! ...
2
votes
3answers
3k views

Trying to enable IPv6 results in a “No route to host” error

I'm configuring a dual stack network on a KVM server using static IPv4 and IPv6 addresses furnished by my provider. I input all addresses, nameservers and gateways as required when installing Ubuntu. ...
2
votes
2answers
432 views

route table explanation

I'm a newbie. Recently I used the command ip route ls to print my route table. Here is the content: 111.211.3.192/26 dev wlan0 proto kernel scope link src 111.211.3.205 metric 2 I'm curious about ...
2
votes
1answer
3k views

When I try to add repositories, why are ubuntu's keyservers timing-out?

Something is rendering receiving keys from keyserver.ubuntu.com impossible and I'm not even sure where to begin in trying to resolve this. As an example, we'll use the Spotify linux app found here: ...
2
votes
1answer
4k views

How do I setup routing through a PPTP VPN?

I have created a PPTP connection back to my office, and managed to setup routing as suggested in this question, so that everything outside the office LAN keeps going to my current default gateway. ...
2
votes
1answer
51 views

Configuring two internet connections

First, I'm know there's lots of topics about this kind of problem but I can't found a solution to my specific problem. In my setup I have a Linux server with three interfaces: ethLAN for LAN with IP ...
2
votes
1answer
2k views

Help configure multiple network interfaces

I'm running Ubuntu inside a VM on my work laptop. I have to run my VPN software on my VM Host system and need access to my VPN network from within my Ubuntu VM. I can set my VM's network interface to ...
2
votes
1answer
994 views

Bridge connection: Ubuntu keeps modifying routing table

I have set up a bridge connection from my mobile phone connected via USB to my laptop running Ubuntu 12.04 to another computer connected via ethernet cable. The bridge thus connects usb0 and eth0. I ...
2
votes
0answers
2k views

Integration multiple internet connections ISPUnity vs Ubuntu Bonding

I have Ubuntu 13.04 with 2 ethernet cards and a WiFi card. I also have 3 ISP connections. I have to configure linux to use all 3 connections. My main concern is to increase outgoing bandwidth (FTP ...
2
votes
1answer
1k views

OpenVPN - Routing issue

Server: Ubuntu 11 (Openvz VPS) Client: Windows 7 Issue: clients connect successfully to VPN, but loss of internet access once inside the VPN. Facts: Everything mostly defaults Is a ...
2
votes
1answer
86 views

Networking and Traffic routing question

Hello I had a few of questions related to networking, let me list them in a logical order: 1) Can multiple interfaces be bridged together so that it results in increased bandwidth? 2) Can wired and ...
2
votes
0answers
308 views

iptables, forwarding between interfaces

I'm trying to setup a router using iptables. But, after a lot of examples I've tried, I can't get anything to work. My idea is to setup a box in between my Cisco and the main switch for firewall, ...
2
votes
1answer
618 views

My server does not forward packets between interfaces. What am I missing? [closed]

I'd like to get my Ubuntu 11.04 server to route packet between its two network interfaces. The two ethernet interfaces (eth0, eth1) work apparently well as such. Both have static IP addresses ...
2
votes
0answers
764 views

How can I tell Ubuntu to keep the correct routing table?

Ubuntu sets a wrong routing table if the router is switched off and on again: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 ...
1
vote
1answer
2k views

Forward TCP Connections with Iptables

I receive connections to my server from several ip addresses I want to route these connections just like rinetd does but based on the ip the connection is coming from to connect to a specified host. ...
1
vote
2answers
3k views

how to route 3 NICs and 3 subnets

I am trying to setup routing between 3 subnets using an Ubuntu 12.10 server with 3 NICs. I would like to be able to have all these subnets route between one another as well as be able to access the ...
1
vote
1answer
4k views

Using Ubuntu as a router?

I've seen many tools to use Ubuntu as a router in which an internet connection could be shared from Ethernet over Wifi or vice versa. I'm looking to achieve this except with 2 Ethernet connections: ...
1
vote
1answer
1k views

How to configure a second IP address and bind it to a VBoxHeadless virtual machine?

I've requested my ISP to dedicate me a second Internet IP address and have got it. Now I need to configure it (I've never had any experience with using multiple IP addresses on one network interface) ...
1
vote
2answers
141 views

Are there any packages in Ubuntu that allow routing on application layer level?

I would like to route packages received by a VM host to different VM guest, on basis of application layer, in particular domains given in urls. It is impossible to route on network layer level, since ...
1
vote
1answer
88 views

Routing table incorrect at startup

Whenever I reboot my Ubuntu server, the routing table is incorrect for the default route. The routing table correctly specifies the LAN IP address 192.168.124.0/24. All other traffic should go through ...
1
vote
1answer
401 views

Ubuntu server routing table

i've a ubuntu server (13.04) with 3 NICs. This is my routing table: Destination Gateway Genmask Flags Metric Ref Use Iface default vodafone.statio 0.0.0.0 UG ...
1
vote
3answers
86 views

Why are there 2 routes in this table instead of one?

route -n gives: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.20.254 0.0.0.0 UG 0 0 0 eth0 ...
1
vote
1answer
2k views

cannot delete IPv6 default gateway

The commands below should be pretty self-explanatory. Please note that the route for which i get failure is obtained by RA and has very less expiry ( e Flag in UDAe). @vm:~$ ip -6 route ...
1
vote
1answer
124 views

How can I make sure my server is connecting through my router?

I have a Ubuntu server with PHP, Apache2 and all of that setup and working on my LAN. Meaning from any computer connected to the same router I can connect to 10.0.0.3 (My server). I have setup my ...
1
vote
1answer
425 views

How to set iphone tethering interface as default gateway

I am able to do the iphone usb tethering under ubuntu(11.10) which will be recognized as eth1 interface (I also have an eth0 internet connection). What I want to do is, when the eth1 is up, I want ...
1
vote
1answer
2k views

ssh fails because port 22 doesn't work with AT&T Uverse

I am attempting to ssh into my home laptop (lappy) from my work laptop (lappy2) so I can run things, transfer files, feel good about having the skillz necessary to set up a server, etc. I have told ...
1
vote
1answer
2k views

Ubuntu can't configure proper gateway at boot

My Ubuntu machine is connected to internet via wifi, and also connected to LAN by ethernet cable. Every time I log on, I have to run these 2 commands in order to set the proper gateway (wlan0 in my ...
1
vote
2answers
37 views

Working with two internet connections

That's my server network setup: /etc/network/interfaces auto ethLAN iface ethLAN inet static address 192.168.10.3 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 auto ethOI ...