[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NETVAERK] 2 netkort, 2 ip-områder



Jesper Lund wrote:
Næh, Thomas' virkelige problem er sikkert at hans Linux-boks sender
svar på trafik der kommer ind på eksempelvis eth1 ud på eth0 fordi
hans default route til resten af verden går ud på eth0.

Det kan brugernes computere ude på internettet sikkert ikke forstå. De
sendte en pakke til IP-adresse X, og fik svar fra fra IP-adresse Y.



Jeg tror det ville være en god ide at læse
http://lartc.org/howto/lartc.rpdb.multiple-links.html

Mvh. Jesper


Hej


Jeg tror du har ret Jesper.


Efter at jeg har læst siden, blev jeg lidt i tvivl om en enkelt detalje.
Der bliver skrevet "IP network". Er det f.eks. 192.168.1.0 eller er det 255.255.255.0?


Vis det er 192.168.1.0, så må det resulterende kommandoer se således ud:

ip route add 192.168.0.0 dev eth0 src 192.168.0.2 table ADSL
ip route add default via 192.168.0.1 table ADSL
ip route add 192.168.1.0 dev eth1 src 192.168.1.3 table Webspeed
ip route add default via 192.168.1.2 table Webspeed
ip route add 192.168.0.0 dev eth0 src 192.168.0.2
ip route add 192.168.1.0 dev eth1 src 192.168.1.3
ip route add default via 192.168.0.1
ip rule add from 192.168.0.2 table ADSL
ip rule add from 192.168.1.3 table Webspeed


At jeg har både ADSL og webspeed, er midlertidigt. Om et par måneder er det kun webspeed..


--

mvh
Thomas D. Kryger
www.akvariet.dk


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:42 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *