-----BEGIN PGP SIGNED MESSAGE----- On Sat, 19 Apr 1997, Kevin Traas wrote: >Here's my current configuration: > ><---A--->1<---B--->2<---C---> > >A is the IP subnet of my ISP >B is an IP subnet for a CSLIP link between 1 and 2 >C is the IP subnet of my LAN >1 is my internet "gateway" - running Debian >2 is my internet "router" - running Debian
>I once read/heard somewhere that it might be possible to do unnumbered >CSLIP interfaces. Is this possible? If so, how do I do it? (Pointers to >manual/docs gladly accepted....) "Unnumbered interfaces" (this is Cisco's terminology if I am right) are Point-to-Point interfaces under Linux. If I understood you right, 1 is attached to your ISP by Ethernet, so let's assume it's eth0 interface is configured like this: ifconfig eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255 route add -net 192.168.1.0 route add default gw 192.168.1.1 Your LAN has it's own Class C subnet, say eth0 on 2 is configured like this: ifconfig eth0 192.168.99.2 netmask 255.255.255.0 broadcast 192.168.99.255 route add -net 192.168.99.0 In short, your ISP's local net is Class C 192.168.1.0 and your own LAN has Class C subnet 192.168.99.0 Then you simply have to make the CSLIP (why don't you use PPP?) as a Point-to-Point Interface between 192.168.1.2 and 192.168.99.1, and after 2 sets up the CSLIP interface, it needs to add a default route through it by route add default dev sl0 and on 1 you need to give the command route add -net 192.168.99.0 netmask 255.255.255.0 dev sl0 (sl0 is the interface name of the slip interface, if memory serves correctly.) If you used PPP, this should be put in /etc/ppp/ip-up (and you could further increase your bandwidth by using software compression on both sides.) Nils - -- \ / | Nils Rennebarth --* WINDOWS 42 *-- | Schillerstr. 61 / \ | 37083 Göttingen | ++49-551-71626 Micro$oft's final answer | http://www.nus.de/~nils -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQB1AwUBM1npuVptA0IhBm0NAQFpjwL/XEKKmIsGiriH5GN2ZxgcqK2buASn8EgT Fg9VxqV6qVeEwnw5RsAZTsL8GQdJBgPtjHGbY/K5RaxhfHi8eAppixEN5HrGqcO9 fhezgUvT1ZMN1Gn0hkg7qbqwqVaZQwPz =089Z -----END PGP SIGNATURE----- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .