Hello, all.  I have two problems:

1.  Whenever I do a 'ip rule show', I get the following error:

RTNETLINK answers: Invalid argument

The same thing happens whenever I try to add a NAT entry for my box:

ip route add nat 192.195.6.244 via 192.168.4.4

I know that some people on the list have had success with this bug, but
I've yet to find the answer.

My current info:

kernel 2.2.3 + atm 0.55
/lib/libc-2.0.7.so
/lib/libc.so.6
/lib/libresolv-2.0.7.so
using rpm of iproute2-ss990630 from Alexey's site.

and the state of my interfaces:

192.195.6.240/28 via 192.195.6.241 dev atm1 
192.195.6.240/28 dev atm1  proto kernel  scope link  src 192.195.6.242 
192.168.5.0/24 via 192.168.2.2 dev atm0 
192.168.4.0/24 via 192.168.2.2 dev atm0 
192.168.3.0/24 via 192.168.2.2 dev atm0 
192.168.2.0/24 dev atm0  proto kernel  scope link  src 192.168.2.1 
129.237.120.0/21 dev eth0  scope link 
129.237.120.0/21 dev eth0  proto kernel  scope link  src 129.237.126.20 
127.0.0.0/8 dev lo  scope link 
default via 192.195.6.241 dev atm1 

Don't ask about atm0 :)

2.  After having failed at this, I tried the source, WITHOUT modifying the
makefile with iproute2-990630, and received the following errors:

gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc
-include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include
-I../include    -c ll_types.c -o ll_types.o
ll_types.c: In function `ll_type_n2a':
ll_types.c:70: `ARPHRD_FCPP' undeclared (first use this function)
ll_types.c:70: (Each undeclared identifier is reported only once
ll_types.c:70: for each function it appears in.)
ll_types.c:70: initializer element for `arphrd_names[36].type' is not
constant
ll_types.c:71: `ARPHRD_FCAL' undeclared (first use this function)
ll_types.c:71: initializer element for `arphrd_names[37].type' is not
constant
ll_types.c:72: `ARPHRD_FCPL' undeclared (first use this function)
ll_types.c:72: initializer element for `arphrd_names[38].type' is not
constant
ll_types.c:73: `ARPHRD_FCFABRIC' undeclared (first use this function)
ll_types.c:73: initializer element for `arphrd_names[39].type' is not
constant
ll_types.c:74: initializer element for `arphrd_names[40].type' is not
constant
ll_types.c:75: initializer element for `arphrd_names[41].type' is not
constant
ll_types.c:76: initializer element for `arphrd_names[42].type' is not
constant
ll_types.c:77: initializer element for `arphrd_names[43].type' is not
constant
ll_types.c:78: initializer element for `arphrd_names[44].type' is not
constant
ll_types.c:79: initializer element for `arphrd_names[45].type' is not
constant
ll_types.c:80: initializer element for `arphrd_names[46].type' is not
constant
ll_types.c:81: initializer element for `arphrd_names[47].type' is not
constant
ll_types.c:82: initializer element for `arphrd_names[48].type' is not
constant
ll_types.c:83: initializer element for `arphrd_names[49].type' is not
constant
ll_types.c:84: initializer element for `arphrd_names[50].type' is not
constant
ll_types.c:85: initializer element for `arphrd_names[51].type' is not
constant

Any ideas?

I'd appreciate any quick replies to these problems, as I need to get the
NAT route set up quickly for my network.  Sigh, and it's probably only two
lines to do that...  Figures :)  Thanks in advance.

----------------------------------------------------------------
Jesse Davis  [EMAIL PROTECTED]   CoE, U. of Kansas
   "Love is a snowmobile racing across the tundra and then
      suddenly it flips over, pinning you underneath.  At night,
      the ice weasels come."        --Matt Groening
   "Life: Heh. Don't ask programmers about life. Everyone knows 
      that we don't have one!!! Eating junk and depriving 
      yourself of sleep? *That* we can help you with.
                                    --John Cash



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to