[CentOS] Multiple Internet facing Nics - Gateway issue

Christopher Chan christopher.chan at bradbury.edu.hk
Thu Jul 2 05:46:00 UTC 2009


Doug Coats wrote:
> So if I run the following two commands the rules show up in the list.
>  
> ip rule add from 173.11.51.46 table Cable
> ip rule add from 67.152.166.2 table T1
>  
> # ip rule list
> 0:      from all lookup 255
> 32764:  from 67.152.166.2 lookup T1
> 32765:  from 173.11.51.46 lookup Cable
> 32766:  from all lookup main
> 32767:  from all lookup default
>
> So why does that work but my other command not?

Which other commands? The ip route ones?

ip route list table T1
ip route list table Cable



More information about the CentOS mailing list