On Friday 21 of November 2003 00:19, Webmaster wrote:
> Simon Cahuk wrote:
> > Hi! Here goes my problem:
> >
> > - I have tree machines on my local network. My IP adresses are:
> > 192.168.0. {1,2,3}.
> >
> > - I connect to the internet over my ISDN card on my machine.
> >
> > - For NAT I use gshield.
> >
> > my /etc/conf.d/net: iface_eth0="192.168.0.1 broadcast 192.168.0.255
> > netmask 255.255.255.0"
> > iface_ippp0="192.168.0.100 broadcast 192.168.0.255 netmask 255.255.255.0"
> > gateway="ippp0/192.168.0.100"
> >
> > And the problem:
> >
> > I can't ping my other machines before I connect to the internet. After
> > connecting ping works ok.
> >
> > If I change gateway=eth0/192.168.0.1, I can't ping any IP on the
> > internet. What do mean the interface and IP options in gateway?
> >
> > So I wan't to ping my machines before connecting to the internet. How can
> > I manage this? Any suggestions?
>
> first you should correct the entry for ippp0.
>
> ppp/ippp are non-broadcast media, that are point-to-point-links
>
> you need no defaultgateway because it is set by pppd when connectingOk, it was my fault. I had to add defaultroute to /etc/ppp/options.ippp0. My network works ok now. > > > i have for my dsl-connection the following entry : > > ---- > > iface_ppp0="192.168.1.200 dynamic pointopoint 192.168.1.1" I used your iface options (the two IP's above changed to 192.168.0.120 and .10). Thanks for your help, Simon > > --- > > and no default gateway > > of course you should name your interface ippp0, I think you can set > ip-address to whatever you like, but prefer non-local adresses from a > private zone > > > Martin > > > > > -- > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
