-1
votes
2answers
40 views

CentOS: Can't add route after deleting the /24 rule from main routing table

As the title says, after deleting a rule from the main routing able I am not able to add any route till I do service network restart or ifup eth0 To reproduce the problem: ip route list table ...
2
votes
1answer
126 views

How to View the IP routing table

How can I see ip routes I've added with ip route add default via x.x.x.55 table test1 for example I added 199 test1 and 198 test2 and 197 test3 to /etc/iproute2/rt_tables then I run: ip route add ...
0
votes
0answers
102 views

Why is an ack response being sent to the wrong gateway?

I was trying to determine why a packet forwarded by iptables to my internal lan is returned on the wrong gateway. Having investigated this further, I determined that, at least in the case of one of ...
0
votes
2answers
284 views

Separated virtual networks with same subnet range with 2 interface

I'm having some problems with routing with the following: I have a server with 2 interfaces. It has 1-1 alias contains the same subnet. the 2 interface is connected to 2 switch, which are separated ...
0
votes
0answers
42 views

2 Nics - Same Subnet..Route backup traffic through one of them [duplicate]

I have a windows server and a centos linux server. I want the nightly backup file (targz) that copies to the windows machine to use a different nic so that the main nic is not burdenend with moving ...
2
votes
3answers
395 views

Multiples ip address on interface. I want to specify one of them for output

I ran curl on curlmyip.com, and I got the wrong output ip address. My systemd service file is: [Unit] Description=Wired Networking Wants=network.target dibbler-client.service Before=network.target ...
0
votes
2answers
495 views

Cisco: Route Outbound SMTP Traffic on Same IP as Inbound

Have a few servers setup behind an ASA 5505, all is well, except for the fact that the ASA only sends the correct smtp outbound IP for the mail server domain itself. Any other domain that sends ...
0
votes
1answer
192 views

Fresh CentOs Install - No Network Connectivity (Route Table Empty)

I have just installed a fresh copy of CentOs 6.4 on a dedicated server. I'm new to linux and trying to learn it. The dedicated server has no network connectivity (I can't ping any hostnames or IP ...
2
votes
2answers
475 views

What is the difference between “route” and “ip route”?

I tried to understand the networking tools on linux. I am confused now about what should I use to manipulate the static routing: "route" or "ip route"?: route - show / manipulate the IP routing table ...
0
votes
1answer
63 views

Giving Multiple ip address of same n/w on two virtual nic

running xen with 2 guests i have been trying to assign public ip addresses to two virtual nic, one each which is sharing bridge networking with host. tried this Host x.x.116.2 created two nic ...
-1
votes
1answer
499 views

Block an IP range with FreeBSD's 'route add'

To block a single IP address I'm using the following: /sbin/route add -host 192.168.0.0 127.0.0.1 Is it possible to block an range of the IP addresses using the route? I have tried the tips found ...
3
votes
1answer
171 views

ip command vs route command, what's the difference?

I see both ip and route commands used for configuring the kernel routing tables. What's the difference? It seems to me that the ip command is preferred more. Is it so, and why?
0
votes
1answer
31 views

How to serve clients when provider's channel is down?

GPRS-devices can connect to server only by ip. They are permanently connected to the server. How to prevent Denial of Service, when internet-provider's channel is down? Is there any standart ...
0
votes
2answers
3k views

How to route UDP traffic from one public IP (linux) to another public IP(Windows)

I want to prevent direct access of my Windows Machine and want to expose some programs running on it via my Linux Machine (which again is accessible by a Public IP). Is there a way where-in I can ...
1
vote
2answers
654 views

Ubuntu server acting as a two interface router

I'm trying to set up a squid proxy server using Ubuntu server 12.04 I'm very new to Ubuntu but I have managed to get some simple things done. I bought a second PCI interface and have managed to ...
0
votes
2answers
836 views

Linux as a gateway (no NAT)

I'm trying to configure a linux server as a gateway/router, but I can't get it to work, and all information I've managed to find is NAT-related. I have a public IP block for the gateway and devices ...
1
vote
4answers
342 views

Different Routes For The Same DNS

I don't know the right term for this concept. But basically, I just want to reroute internal traffic to go directly to a server within the network instead of going around the internet. The domain have ...
2
votes
1answer
1k views

Under what circumstances will Linux ignore the route table when choosing the MAC address for an outbound frame?

While debugging a problem with the networking configuration for a set of virtual machines running under KVM, I discovered a circumstance where the kernel in the guest VM has decided to stamp the ...
0
votes
1answer
978 views

using a gre tunnel as default route

I have two private networks (A, B) that connects via another company's private network (C). Network A has internet access. I want to make a tunnel between B and A that goes through C. Then network B ...
1
vote
2answers
820 views

port redirection through a VPN

I would like redirect my tcp traffic to IRC throught a VPN. I mark the packets with iptables and create a new route for this packets: echo 1 > /proc/sys/net/ipv4/ip_forward echo 0 > ...
3
votes
3answers
2k views

CentOS Wrong Outgoing IP Address

I have a Centos 5 box with a sub interface: ifconfig eth0 10.1.1.1 255.255.255.255 ifconfig eth0:1 10.1.1.2 255.255.255.255 The netmasks need to be 32bit in the environment this server is in. So ...
1
vote
2answers
2k views

Reroute IP Traffic to another IP?

Is it possible to reroute traffic from one IP/PORT to another in Server 2008? We host game servers, and I was tinkering with the idea of offering our clients an extra IP address, but reroute the ...
7
votes
3answers
27k views

Why ip route add doesn't work, but ip route add with less details and then change works?

I have a problem with ip route add. Surprisingly, I can add the route then change it, but I cannot directly add it: # ip route add 192.168.0.0/16 via 192.168.255.254 src 192.168.1.101 RTNETLINK ...
1
vote
1answer
1k views

How do I force a socket connection to use a specific network adapter under Linux? ip route issue?

I have multiple network adapters, and need to be able to specify which adapter my socket uses for outbound connections, so that I can have one or more sockets bound to each network. I`ve looked at the ...
0
votes
1answer
1k views

Routing subnet over GRE tunnel

Im trying to configure a GRE over IPSec connection between two subnets. The IPSec tunnel is opened and now I want to add a GRE tunnel over it: ip tunnel add GRE01 mode gre remote 10.244.0.1 local ...
1
vote
2answers
1k views

Linux ip route matching the source ip

I would like to know if it's possible to tell a Linux kernel to route all packets destinated to X via interface/ip Y but only in case the source IP address would be a specific one. Any idea if this ...
0
votes
2answers
60 views

How to reply some request from which routes its came from?

I wonder if we can reply some request from which route its came from? My Situation is like this: eth0 192.168.10.1 --> gw: 192.168.10.254 nm: 24 eth1 192.168.11.1 --> gw: 192.168.11.254 nm: 24 ...
1
vote
1answer
1k views

ISA Server Route Add Question

I have a situation where I have and ISA 2006 server (on Win2k3) that has an internal and an externaly facing NIC's. All works fine but I need to add a couple of routes for the following reason: Our ...
1
vote
3answers
137 views

Routing / binding 128 IPs to one server

I have a Ubuntu server with 128 ip's (static external ips 86.xx.xx.16), and I want to crawl pages thru different ip's. The gateway is xx.xxx.xxx.1, the main ip is xx.xxx.xxx.16, and the other 128 ip's ...
1
vote
2answers
1k views

How do I setup a router to forward packets (to/from) a specific IP to a specific _hardware port_?

I would like to route all traffic to 192.168.1.10 to hardware port 1 on my router and all traffic to 192.168.1.11 to hardware port 2 on my router. The issue here is that I have a network attached ...
0
votes
3answers
490 views

How can roaming user access same domain with varying IP address depending on location?

With my laptop, when accessing a given domain on the local network, I need to use a local IP address (192.168.x.x). When accessing the same domain from a remote location, I need to use the public IP ...