0
votes
0answers
12 views

UID based routing doesn't work

I have a 12.04 LTS server with two NICs. They are connected to different networks. # ip route list table main default via 192.168.1.254 dev eth0 192.168.1.0/24 dev eth0 proto kernel scope link ...
1
vote
0answers
36 views

why would the system not respect a routing rule?

We have the following rule in our /etc/network/interfaces file: up route add -net 224.0.0.0/8 dev eth1 If we run route -vne we see it listed: Kernel IP routing table Destination Gateway ...
0
votes
0answers
17 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 ...
0
votes
1answer
116 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
125 views

How do I configure ufw to only allow outgoing/established connections for a IPv6 network?

How do I configure ufw to only allow outgoing/established connections for a IPv6 network? I am using an old computer with 12.04 installed to create an IPv6 router for my local network. I would like ...
1
vote
3answers
37 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 ...
0
votes
0answers
21 views

Can't get two interfaces to work, trying to use Shorewall but routing interferes

I have a server with two NICs. One is internet facing, the other is LAN facing. I decided to use Shorewall to control access between zones, because I can't have the internet side communicating with ...
5
votes
2answers
91 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 ...
3
votes
1answer
81 views

How To Find 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 ...
0
votes
0answers
57 views

setup bridge firewall

I want to setup bridge on ubuntu 12.04 something like this LAN --> ubuntu bridge -->default gateway-->Internet do I need 2 eth interface? can I setup using ethernet to connect to LAN and wlan to ...
1
vote
0answers
88 views

Ubuntu source routing?

I have a problem with ubuntu I have eth0 as default/primary interface and loopback1 as my service address, so when I try to ping with loopback address it replies using eth0! I need to figure out ...
0
votes
0answers
100 views

Use avahi and edit route table

I have two hosts physically connected to the same network. One of them has only an IPv4LL address configured with avahi-autoipd (169.254.xxx.xxx), while the other has a static routable IP address ...
1
vote
0answers
86 views

retrieving route flags programmatically? [closed]

Is there a way to obtain flags of the routing table through any API? Netlink socket doesn't show any place for flags. After checking route command's source code in net-tools it seems that it reads ...
4
votes
1answer
1k 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. ...
6
votes
1answer
213 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 ...
0
votes
2answers
344 views

New install 12.04 64bit dual NIC's, both DHCP, no route until one card disabled [closed]

Fresh install on Asus P7T deluxe. Which has twin NIC's onboard. Both cards have cables attached to a switch with IP's from DHCP and a valid route to the internet. Internet connectivity fails until ...
0
votes
2answers
636 views

Computer becomes unreachable on lan after some time

I work on my laptop and ssh into my desktop. I use a lot of key based authentication for many servers for work but recently I couldn't login because ssh would pick up and try all the keys and it stops ...
0
votes
1answer
1k views

Operation times out trying to SSH outside LAN i.e. from internet to LAN no connection is established

I run Ubuntu 12.04 and have no success connecting with SSH from "Internet". The router is a TL-MR3420 which is set up to forward requests to one of the NIC's on ubuntu machine (which has in total 3 ...
0
votes
1answer
365 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 ...
0
votes
2answers
516 views

How to make an internet server as firewall using ubuntu 11.10

i have one static broadband connection which is coming to my Ubuntu server with 2 lan cards, there are 10 more PC's to which i need to provide internet connection through Ubuntu server as well as i ...
1
vote
1answer
274 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 ...
0
votes
1answer
980 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 ...
0
votes
1answer
3k views

Use ubuntu as router

I've seen many tools to use ubuntu as a router in which an internet connection could be shared from ethernet, over wi-fi or vice versa. I'm looking to achieve this except with 2 ethernet connections: ...
1
vote
1answer
972 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 ...
5
votes
1answer
3k 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 ...
4
votes
1answer
758 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
2answers
3k 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 ...
6
votes
2answers
2k 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 ...
2
votes
1answer
2k 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. ...
9
votes
3answers
6k 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 ...
1
vote
1answer
893 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) ...