[mpls-linux-general] still having problems with iptables
Status: Beta
Brought to you by:
jleu
|
From: Itrat R. Q. <iq...@cc...> - 2004-06-02 03:41:21
|
OK, I tried the command
./iptables <other args> -j spec_nh --spec_nh 0x4788:0x2
but it didn=92t work.
My configuration is something like this
PC INGRESS LSR EGRESS PC
172.16.70.91 .90 .1 .10 .11 .12 .13 172.16.134.36
|--------------| |--------| |--------| |--------|=20
eth0 eth2 eth0 eth0 eth1 eth0 eth1 eth0
I am using the following iptable commands at the INGRESS
./iptables =96F
./iptables =96P INPUT DROP
./iptables =96P FORWARD DROP
./iptables =96A INPUT =96i lo =96d 127.0.0.1 =96j ACCEPT =
=20
./iptables =96A INPUT =96i eth2 =96d 172.16.134.36 =96j ACCEPT=20
./iptables =96A FORWARD =96i eth2 =96d 172.16.134.36 =96j ACCEPT
./iptables =96A OUTPUT =96o eth0 =96d 172.16.134.36 =96j spec_nh --spec_=
nh 0x8847:0x2=20
Kindly tell me if there is something wrong with these rules or their orde=
r, if=20
not then kindly mention the specific printk commands to add in the target=
()=20
function of the ipt_spec_nh.c file.
Thanks in advance once again.
|