The tag has no usage guidance.

learn more… | top users | synonyms

16
votes
4answers
77k views

How to set static routes in Ubuntu 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 ...
12
votes
2answers
49k 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?
15
votes
2answers
17k 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 ...
4
votes
1answer
17k 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 ...
5
votes
3answers
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 ...
7
votes
1answer
19k 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 ...
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: ...
0
votes
1answer
6k views

DHCP server not routing to connect to internet for clients

i am configuring a DHCP server using ubuntu 11.10 with 2 lan cards.eth0 is connected to wan on ip address:192.168.2.2/24 and eth1 connected to lan is configured with ip:192.168.10.1/24 ...
8
votes
1answer
14k 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 ...
7
votes
1answer
2k 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 ...
5
votes
1answer
13k 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 ...
1
vote
1answer
599 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 ...
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
4k 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: ...
1
vote
1answer
236 views

Routing in computing cluster

I'm trying to set up a computing cluster composed of four nodes. Each node have 2 interfaces p1p1 and p2p1. The first node - head node - should be visible form the outer world. It should route all ...
1
vote
2answers
3k views

How to control the up order of network interfaces?

I have /etc/network/interfaces as follow. Every time the system boots up, the route is wrong so the gateway is not reachable. I'd have to ifdown br0 && ifup br0 to fix the route table and make ...
2
votes
1answer
265 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
2answers
7k views

openssh server is refusing connections by blocking or resetting

On a quite fresh install of Ubuntu 14.04 (machine1), I have openssh-server with a completely default config. When connecting from machine2 on the LAN, with an empty ~/.ssh, I get the following debug ...
2
votes
1answer
800 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 ...
1
vote
0answers
209 views

When the system resumes the default route is missing [closed]

A notebook running Ubuntu 13.10 (xfce), using wifi, and until recently when I shut the lid down it suspended nicely, and when I opened the lid it resumed, and auto-connected to the wifi. Now it no ...
1
vote
2answers
4k 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
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) ...
0
votes
1answer
3k views

Ubuntu as a Router/Gateway - Unable to access WAN

I am currently trying to set up a home router using a machine running Ubuntu 12.04. The machine has two ethernet ports. eth0 is LAN and eth1 is WAN. I have set eth0 to a static ip and have eth1 ...
0
votes
1answer
567 views

Unable to ping et1 - routing issue

I have an UBUNTU server VM installation with two NICs. eth0 is on the LAN network, configured by DHCP and is working fine. I manually configured eth1 with a static IP on the DMZ network but can't ping ...