Stiu ca se cam incadreaza la newbie, dar am intrebat acolo si n-a putut nimeni sa-mi raspunda. Vreau sa fac un router simplu (pentru inceput, dupa aia fac si rafinamente). Am trei NIC: 1. localnet 2. radio (o conexiune cu alt LAN) 3. rds Vreau sa routez traficul pentru internet prin placa de retea rds. Am RedHat 6.2 si kernel 2.4.0-test5 IP forwarding merge: [root@officegw /root]# cat /proc/sys/net/ipv4/ip_forward 1 Asta este tabela de routare de care nu sunt sigur: [root@officegw /root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface radio.delrom.ro * 255.255.255.255 UH 0 0 0 eth1 localnet.delrom * 255.255.255.255 UH 0 0 0 eth0 rds.delrom.ro * 255.255.255.255 UH 0 0 0 eth2 212.93.138.0 * 255.255.255.192 U 0 0 0 eth2 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 10.0.0.0 * 255.0.0.0 U 0 0 0 eth1 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default rdsgw 0.0.0.0 UG 0 0 0 eth2 [root@officegw /root]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.157.10.4 0.0.0.0 255.255.255.255 UH 0 0 0 eth1 192.168.1.4 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 212.93.138.10 0.0.0.0 255.255.255.255 UH 0 0 0 eth2 212.93.138.0 0.0.0.0 255.255.255.192 U 0 0 0 eth2 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 212.93.138.1 0.0.0.0 UG 0 0 0 eth2 [root@officegw /root]# ip route 10.157.10.4 dev eth1 scope link 192.168.1.4 dev eth0 scope link 212.93.138.10 dev eth2 scope link 212.93.138.0/26 dev eth2 proto kernel scope link src 212.93.138.10 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.4 10.0.0.0/8 dev eth1 proto kernel scope link src 10.157.10.4 127.0.0.0/8 dev lo scope link default via 212.93.138.1 dev eth2 Macar dati-mi un RTFM daca ziceti ca sunt prea clueless. Multumesc. Get your own FREE E-mail address at http://www.linuxfreemail.com Linux FREE Mail is 100% FREE, 100% Linux, and 100% yours! --- Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to unsubscribe from this list.
