Displaying 20 results from an estimated 5000 matches similar to: "iproute2 custom tables and rules the CentOS way..."
2005 Jul 09
1
Problems with iproute2
I''m using Debian (sarge)
I do now have 2 ISP, one DSL and one cabel.
I want to use the DSL as my primary and only use the cabel-modem if the DSL
fails.
The setup is:
IP1 -> Router -> NAT_IP1 -> eth0 -> eth2 (LAN)
IP2 -> Cable-Modem -> eth1 -> eth2 (LAN)
I wrote the following in my /etc/iproute2/rt_tables
ip rule add from NAT_IP1 lookup 1
ip route add
2006 Mar 28
4
[ ] IProute2 error ..
Dear all,
I am having problem using iproute2 on my new Slackware 10.1 box.
Here goes the problem:
root@localhost:~# echo "200 DOONET" >> /etc/iproute2/rt_tables
root@localhost:~# cat /etc/iproute2/rt_tables
#
# reserved values
#
255 local
254 main
253 default
0 unspec
#
# local
#
#1 inr.ruhep
200 DOONET
root@localhost:~# ip rule add from 10.255.255.0/24
2006 Aug 18
3
iproute2, alternative tables, no default route: routing trouble for localhost
Hi.
The task:
1. There 3 servers and a router with 2 PPPoE connections (let call them:
ppp0, ppp1).
2. There are several groups of Inet-clients to be served (Servers,
Clients and Club).
3. The task is:
- to route Club through the ppp1;
- to Servers and Clients through ppp0;
(Next is reproduced from memory and may be slightly incorrect)
router # netstat -nr
Kernel IP routing table
2012 Jun 15
4
Resizing est4 filesystem while mounted
Greetings -
I had a logical volume that was running out of space on a virtual machine.
I successfully expanded the LV using lvextend, and lvdisplay shows that it
has been expanded. Then I went to expand the filesystem to fill the new
space (# resize2fs -p /dev/vde1) and I get the results that the filesystem
is already xx blocks long, nothing to do. If I do a # df -h, I can see that
the
2013 May 02
1
AT-2972SX
Anyone know off the top of their heads if this (AT-2972SX) fiber
network card will work out of the box with CentOS 6.x?
Sounds like it's a Broadcom-based card, so perhaps it will, or maybe
something exists for it in elrepo?
Hoping to avoid needing to build custom drivers from source.
Ray
2005 Oct 29
2
iproute create policy routes after reboot
Which files do I need to edit in order to initialize a route after a
reboot.
I have a 802.1q tagged VLAN interface which I need to create a rule, and a
route for.
I see on my CentOs 4.2 box that in /etc/iproute2 there are the following
files. I realize that I can add my tables to /etc/iproute2/rt_tables, but
when I want to create a rule I am not sure where to put the information
for the
2005 Jan 14
1
iproute2 + netfilter problem
Hi guys, i have a problem with a configuration what i''m trying to do.
I have two computers with linux, A and B, connected in the same network with this configuration:
PC1 A: 192.168.192.1
PC2 B: 192.168.192.30
The PC1 A is a firewall doing nat... this one is connected to the internet via an adsl modem and of course it have its own public ip , and the router B is a smtp server but
2006 Jul 19
2
What am I missing?
On a custom compiled Linux 2.6.13 kernel...
# tc qdisc add dev ppp145 handle ffff: ingress
# tc filter add dev ppp145 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 384kbit burst 10k drop flowid :1
RTNETLINK answers: Invalid argument
This works fine on a CentOS machine and my Fedora Core 2 box with default
kernel. I''m trying to figure out what is missing in the
2002 Nov 27
7
one dude about rt_tables
Can I add routes to rt_tables by hand with the vi editor?
If I add a route to that file, it will be there if I reboot the box?
I am sure there are stupid questions but I can''t find the answer into the
papers I have here.
Luis Miguel Cruz Miranda.
CCNA - Systems Administrator
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
2008 May 02
4
ext3 filesystems larger than 8TB
Greetings.
I am trying to create a 10TB (approx) ext3 filesystem. I am able to
successfully create the partition using parted, but when I try to use
mkfs.ext3, I get an error stating there is an 8TB limit for ext3
filesystems.
I looked at the specs for 5 on the "upstream" vendor's website, and they
indicate that there is a 16TB limit on ext3.
Has anyone been able to create
2005 Dec 24
1
Simple routing configuration
Hi,
I have a simple question (well, at least I think it''s simple!). I have a
router, with four Ethernet cards; eth0-eth3. eth0 and eth3 are the
''external'' cards, connecting to my ISPs. eth1 and eth2 are connected to my
internal networks. What I want to do is basically filter all the traffic
from one card to another, in this configuration:
eth1 to eth3
eth2 to eth0
2007 Feb 21
1
simple source policy routing not working
Hi,
my box is connected to 3 networks, eth0 eth1 wlan0. I want "my" traffic to go
via wlan0 and everything from eth1 NATed to eth0:
eth0 192.168.1.10/24
eth1 172.16.1.1/12
wlan0 192.168.10.190/24
I first tried this with two single hosts:
iptables -A POSTROUTING -j MASQUERADE -o eth0 -t nat
iptables -A POSTROUTING -j MASQUERADE -o wlan0 -t nat
echo 200 Forw >>
2004 May 21
2
fwmark / MARK / --set-mark syntax never run on my system! Search step by step help.
Hello!
This arguments never run on my system, but I need this:
#!/bin/bash -x
echo "1"
iptables -t mangle -p tcp -d 0/0 --dport 80 -j MARK --set-mark 2
echo "2"
echo "201 T1" >> /etc/iproute2/rt_tables
echo "3"
ip rule add fwmark 2 table T1
echo "4"
ip route add default via 192.168.21.2 dev eth1 table T1
echo "5"
ip route
2006 Jan 15
1
Network configuration
Hi,
Apologies for the cross-posting; I''m not sure whether this is a firewall or
routing issue, or both!
I have four network cards, detailed below. eth0 and eth3 connect to my ISPs,
and eth1 and eth2 connect to local networks. I want to route all traffic
from eth2 to eth0, and from eth1 to eth3. However, I am having a few
problems with this.
eth0
ip: 192.168.100.253/24
gw:
2005 Jul 15
1
Problems with table
hi,
I have problems with tables.
I installed the last iproute2: iproute2-2.4.7-now-ss010824.tar.gz on
Linux 2.4.26 (slackware 9.1).
I want to use 2 adsl on this server.
I run this command:
#echo 201 routeradsl2 >> /etc/iproute2/rt_tables (only one time);
then
#ip route add 82.189.148.240 dev eth1 src 82.189.148.243 table routeradsl2
at this point I run:
#ip route show table routeradsl2
2007 Jan 21
2
mark and route traffic in a bridge
Hi all !!
I would to like to mark and route some kind of traffic (ie: outbound
www, now by simplicity)
---inet1--------eth0------------| |
| linux |
--eth1------- clientes
---inet2(90.0.0.1)--------eth2-| |
I have eth0 and eth1 bridged (eth2 is not bridged).
I would to route www outbound clients
2007 Jan 21
2
mark and route traffic in a bridge
Hi all !!
I would to like to mark and route some kind of traffic (ie: outbound
www, now by simplicity)
---inet1--------eth0------------| |
| linux |
--eth1------- clientes
---inet2(90.0.0.1)--------eth2-| |
I have eth0 and eth1 bridged (eth2 is not bridged).
I would to route www outbound clients
2005 Oct 31
2
IProute2 and netfilter interactions
I am trying to build a firewall and from my reading of the list archives and
other places, I''m worried about unintended interactions between iptables and
iproute2. Here is my situation
I have an internal network on eth0 and two separate dmzs on eth1 and eth2
respectively (a wireless network and a kiosk). On the outbound side, I have a
cablemodem provider and a dsl provider. What I
2007 Sep 01
13
2 ISP connection sharing problem
Hi all,
I have a similar question like many asked before I know but Please
help as i cant figure out where the problem is and how should I tackle.
I have 2 ISP connections. I want to share the bandwidth from both. I have
copied the script from many places and created my own after changes. Problem
is that only one connection is utilized at a time. Not both working. ratio
of consuming
2004 Apr 04
2
2 ISP Routing Problem
Hello,I have single linux router ( fedora core 1 ), 2 ISP, 1 internal
network,1 IP space from every ISP
My scenario:
eth0 1.0.0.2 netmask 255.255.255.252 -> ISP 1
eth1 2.0.0.2 netmask 255.255.255.252 -> ISP 2
eth2 1.0.1.1 netmask 255.255.255.0 -> IP space from ISP1
eth3 2.0.1.1 netmask 255.255.255.0 -> IP space from ISP2
Config I try:
/etc/iproute2/rt_tables:
10 isp1
20 isp2
ip