Questions tagged [ip-routing]

272 questions
2
votes
0 answers

Cisco Switch Routing performance monitoring

It is quite a question for me: I have Cisco Catalyst 2960S switch which is nice hardware even despite its age and EOL. I'd like to set it as small router between several networks within a remote building. Static routes, nothing more. What I…
Alexander
  • 724
  • 2
  • 11
  • 19
2
votes
2 answers

EC2 multiple outbound IP addresses setup

I've looked everywhere and haven't found a good solution to the following problem: I'd like to set up an ec2 instance with 2 public ip addresses, with 2 rails servers each using one IP address. They would accept incoming requests on their own…
2
votes
1 answer

How do I set up an ssh -w tunnel VPN between AWS VPC and a Linode?

I'm probably not going to use this for the long term, but I still want to know why this isn't working. I've set up a simple ssh tunnel from my Linode instance to one AWS EC2 instance within my VPC. I have three running instances, one has a public…
Jim Dennis
  • 807
  • 1
  • 10
  • 22
2
votes
2 answers

How to forward traffic to different nics based on source?

I'm a newbie to IPtables, but am looking to do send traffic to a specific card based on the source. Here's what I would like: eth0 - all traffic comes in on this NIC Depending on the source IP, I want to direct traffic out to the Internet on either…
Ryan
  • 41
  • 3
2
votes
1 answer

Ip-in-Ip tunnel not working -- Packets not being decapsulated

I am trying to forward packets from HostA to HostB using ip-in-ip tunneling. While packets are reaching their destination, they are not being decapsulated by the receiving host, and thus being dropped thereafter. I feel as though I've exhausted all…
Thomas Thorogood
  • 211
  • 2
  • 13
2
votes
1 answer

ip route add works manually but throws "Error: an inet prefix is expected rather than ..." when run via bash script

I'm trying to run a script that should add this route to a table 11: ip route add local 10.1.3.212 dev eth1 proto kernel scope host src 10.1.3.212 table 11 If I run this command manually, it is successful and I can see the entry in table 11 but…
user1071840
  • 125
  • 1
  • 1
  • 7
2
votes
1 answer

OpenVPN redirect-gateway breaks other tunnels

This is my ifconfig setup: eth1 Link encap:Ethernet HWaddr 54:04:a6:49:99:16 inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::5604:a6ff:fe49:9916/64 Scope:Link UP BROADCAST…
Nikita240
  • 209
  • 1
  • 3
  • 11
2
votes
0 answers

Inter VLAN Routing

I have VLAN 1 and VLAN 2 setup on HP ProCurve Switch, each linked to a different scope on DHCP server. VLAN1 = 10.220.0.0/23 VLAN2 = 10.210.0.0/21 I can't ping VLAN1 devices from VLAN2 and vice versa. I have ip-routing enabled and have a…
Matt Weick
  • 85
  • 1
  • 8
2
votes
2 answers

iptables rule to set source IP depending on local userid

I have two users, alpha (uid 500) and beta (uid 501), and two IP addresses assigned as eth0 and eth0:1. I would like all outgoing packets originated by processes started by user alpha to be marked with the source IP address of eth0, and all packets…
mario
  • 21
  • 1
  • 2
2
votes
2 answers

Linux IP Alias not working - Amazon EC2

I can't seem to figure out this IP aliasing on Amazon EC2. I know it should be straight fwd though. In summary I have two questions (my scenario details follows after questions), in priority: How to get the routing working via the CLI…
0v3rst33r
  • 73
  • 1
  • 7
2
votes
2 answers

VLAN Traffic changing source when captured at firewall

1) HP Switch config below 2) Fortinet Policy in attached image Right now, we are a flat network of roughly 320 wireless devices, and about 100 wired devices. We have a FortiGate 300C firewall with a single internet connection, and a single internal…
Brandon
  • 31
  • 4
2
votes
2 answers

Can't reach network 192.168.100.0/24

In one of our data-centre we've a Debian machine acting as a router. From this network we cannot reach any of the machines found on 192.168.100.0/24 network. E.g The gateway on the 192.168.100.0/24 network is the 192.168.100.10. This gateway is not…
Valentin Bajrami
  • 3,870
  • 1
  • 17
  • 25
2
votes
1 answer

auto-summarization: classful vs classless routing protocols

Suppose a router R1 is directly connected to the following subnets: 10.1.0.0/24 10.1.1.0/24 10.1.2.0/24 10.1.3.0/24 If it is running RIPv1, it will advertise: "i have the network 10.0.0.0" (implicitly understood by receiving RIPv1 routers as…
yorble
  • 23
  • 3
2
votes
0 answers

IPSec VPN : Traffic not routing correctly

We have a server which is windows 2008 running on a VPS with a single public IP address. I've configured the firewall to allow IPSEC VPN connections to be established with our Draytek routers at remote sites, and the VPS has it's private IP address…
2
votes
1 answer

Configuring ipv6 over radvd using sixxs, routing not working

So this morning, I have been trying to configure IPv6 upon my network using the guide I found on reddit (of all places) at http://ipv6friday.org/blog/2012/06/ipv6-enabling-training/. Now at first glance, this appears to be working, however, the…
Matthew Gall
  • 355
  • 1
  • 8