Re: [LARTC] basic ip problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 26, 2001 at 07:57:20PM -0300, Raul Dias wrote:
> 
> Hi,
> 
> I am creating some routing policy and I am having a basic problem with ip.
> I am starting with 2 hosts to test the configuration.
> 
>    ----------            ----------
>    | host A |------------| Host B |
>    ----------            ----------
> IP: 10.0.100.1           IP: 10.0.100.2
> 
> On hostA:
> # ip address add 10.0.100.1/24 dev eth0 brd +
> 
> On hostB:
> # ip address add 10.0.100.2/24 dev eth0 brd +
> 
> With this both sides can ping each other (as expected)
> 
> Now at host A I get the error:
> # ip route add 10.0.100.1/24 dev eth0 table 200
> RTNETLINK answers: Invalid argument

Did you first create this table?

ip rule add <selector> table 200

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux