Linux-Networking Digest #83, Volume #11           Sat, 8 May 99 15:13:36 EDT

Contents:
  Re: Reliable (!) nic for 2.2 kernel? (bryan)
  Re: Provider Proxy and Gateway (Frank Hahn)
  Re: adding static routes (and gateways) (Michael J Surette)
  Mounting the Samba Server with Linux??? (jwhite)
  Re: Reliable (!) nic for 2.2 kernel? (Richard Torkar)
  How to attach socket to file handle (Vesa A Norrman)
  Remote boot (Jon)
  Re: netscape 4.51 and IR5 (Wayne Kovsky)
  Re: Linux and PLC Communications (Geoff Allsup)
  Re: vncserver error (Greg Weeks)
  Re: Running X through a masquerading router (Greg Weeks)
  Re: Where are the networking card modules loaded? (Mark)
  Redhat 6.0 and ipfwadm (Paul Nevin)
  Re: Connect Linux box with Win95 using TCP/IP ("Curt")
  2 NIC in same IP segment (Alexander Verhaar)
  Re: PPP:  "all had bit 7 set to 0" and "receive serial link is not 8 bit  ("Samuel 
A. Rogers.")
  Re: DSL questions (bryan)
  Re: Newbie: Ethernet card not detected (Albert Geyser)
  Re: ARP problems or bad NIC? (Vidar Andresen)
  Re: IP Masquerading (Tobias Reckhard)
  Re: Strange problem while connected to foreing host (Joerg Sauer)
  small first TCP/IP network with linux and mac (Brian)
  Re: Telnet & Ftp One Way Newbie Help (Tomer Brisker)
  @home & Linux ("Alan Sims")

----------------------------------------------------------------------------

From: bryan <[EMAIL PROTECTED]>
Subject: Re: Reliable (!) nic for 2.2 kernel?
Crossposted-To: comp.os.linux.development.system
Date: Sat, 08 May 1999 17:23:42 GMT

In comp.os.linux.networking Doug Pitek <[EMAIL PROTECTED]> wrote:
: I've never had a problem with my 3com 10/100 PCI cards... 3c59x... about $65
: each too!

can you do this experiment for me, if you have the boxes for it?

set two linux 2.2 systems on a private wire (rolled cable), with the
cards of your choice.  then send a fast ping stream to the other:

        ping -s 1000 -f <target>

if it lives for several minutes (an hour would be nice) then I would
be willing to get a card like the one you used and try it here.
currently, my tulip cards can be frozen solid in less than 1 minute
with 2.2 kernel.  again, 2.0.36 this experiment passes just fine.  so
my system, wiring, etc is all fine - its the changes in the driver
and/or kernel that are at fault.  and have been this way since 2.2.0.

rather than wait for the driver to stabilize, I'd like to get a card
that has a stable driver -today-, and when the tulip is back to
working again, I'll consider switching back.


: bryan <[EMAIL PROTECTED]> wrote in message
: news:0EXY2.11020$[EMAIL PROTECTED]...
: > my tulip card is totally unreliable.  I can bring it down with an ftp
: > xfer (local lan) at 10 or 100, in a minute or less.  network hangs and
: > will NOT be reset by software.
: >
: > with a T1 download, it can hang the network in a few hours.  this sucks
: ;-( 
: > 
: > even a '/etc/rc.d/init.d/network stop; /etc/rc.d/init.d/network start'
: > won't fix the card.  only a HARD reboot will reset it.
: > 
: > has anyone done any load testing on the 2.2 kernel and found a
: > RELIABLE nic card they could recommend?  one that stays up under close
: > to full load on a local 10/100 lan?
: > 
: > (btw, I now have several dec tulip cards for sale.  I refuse to use
: > them in 2.2 kernel boxes I have here - sigh.)
: > 
: > -- 
: > Bryan




-- 
Bryan

------------------------------

From: [EMAIL PROTECTED] (Frank Hahn)
Subject: Re: Provider Proxy and Gateway
Date: Sat, 08 May 1999 17:26:32 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 08 May 1999 11:13:15 +0200, olipil <[EMAIL PROTECTED]> wrote:
>I have a problem with the internet-conncection of the gateway-linux-pc
>to my providers proxy-server.
>My intention is to access the poxy server of my provider from
>a Client-Pc through the Linux-Gateway-PC.
>It works all fine, except the connection to the proxy.
>
>Where can I specify my Linux-Gateway-Pc to use the proxy.server
>of my provider. (not in netscape, ...this don�t work)
>
You don't say what operating system is on the client-pc.  I'm
assuming it's either Windows 95/98.  You have to get into the
networking setup of Windows and place the IP address of the Linux
machine in the section where it asks for the number of the gateway
machine.

If you are running something like squid, wwwoffle, or junkbuster on
the Linux machine, the port numbers that this software is using is what
you would need to configure Netscape to use.

-- 
Frank Hahn

------------------------------

From: Michael J Surette <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: adding static routes (and gateways)
Date: Sat, 08 May 1999 13:26:45 -0400

Go to ftp.inr.ac.ru:/ip-routing and get iproute2

It was designed for 2.2.x kernels, works well, and seems to do everything well.

Eric wrote:

> I'm having a problem adding static routes to my system (RH 5.2, kernel
> 2.2.5, net-tools 1.121).  For some reason, the ifup-routes script doesn't
> seem to execute, and consequently, any changes I make to
> /etc/sysconfig/static-routes don't appear in my routing table.  Has anyone
> else encountered this problem?  Have you determined the fix?  I don't
> understand if the scripts are badly written (in which case I don't know why
> they have been distributed like this for mulitple RH releases already), or
> if perhaps I don't understand how to use the static-routes file.  I know the
> formating I am using is correct - I've used netcfg to recreate it for me
> (just in case), and I looked at the syntax that the script expects.
>
> My other problem is with the gateway definition.  I want an entry in my
> routing table that automatically forwards my packets to my gateway on the
> machine (that is those that don't match any other of my routing rules.  So,
> I placed the entry in the /etc/sysconfig/network file:
>
> NETWORKING=yes
> FORWARD_IPV4=false
> HOSTNAME=linuxbox.home.ca
> DOMAINNAME=home.ca
> GATEWAY=192.168.1.1
> GATEWAYDEV=eth0
>
> Now here's the kicker - when I check the routing table using the 'route'
> command, the first routes come into view very quickly, but it takes a
> tremendous amount of time (close to 30secs or 45) before the final default
> route is displayed (ie: it looks like the route command hangs during this
> idle time period where nothing is displayed).  I don't understand why this
> is happening.  Is there something wrong with this setup?  Is the kernel
> routing table getting messed up somehow?  Is there a way to fix this?
>
> Thanks!
>
> Eric
> [EMAIL PROTECTED]


------------------------------

From: jwhite <[EMAIL PROTECTED]>
Subject: Mounting the Samba Server with Linux???
Date: Sat, 08 May 1999 00:39:23 -0600

Hi All,


I have a small home network going. Two computers,
Dual Boot, Redhat
5.1/Win95 and server running Redhat 5.2 & Samba. I
have Server/Samba
working fine with Win95, I can log in and see all
the available shares
etc. 



Currently when I boot into my Redhat 5.1 (the dual
boot machine) system
it will mount the DOS partitions (i.e. C-Drive and
D-Drive) on my
Windows 95 system through fstab.


Should the Samba server make those partitions on
the Win95 system
available to the Redhat 5.1 system, instead of
doing it through fstab?


How should I mount the available shares on the
Samba server with Redhat
5.1? Should I place the smbmount lines in the
etc/rc.d/rc.local file? Is
that the preferred method? 

Is there any special syntax that need to be used
in the rc.local file?

Just trying  to set it up the most logical way.

Thanks 
Joe
-- 

*********************************************************                      
                          Joseph White
                         [EMAIL PROTECTED]
                      [EMAIL PROTECTED]
                      

*********************************************************

------------------------------

From: Richard Torkar <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: Reliable (!) nic for 2.2 kernel?
Date: Sat, 08 May 1999 19:30:19 +0200


> : >
> : > has anyone done any load testing on the 2.2 kernel and found a
> : > RELIABLE nic card they could recommend?  one that stays up under close
> : > to full load on a local 10/100 lan?
> : >
> : > (btw, I now have several dec tulip cards for sale.  I refuse to use
> : > them in 2.2 kernel boxes I have here - sigh.)
> : >
> : > --
> : > Bryan


I've had a 3c509B (Etherlink III) for a year now on a 10MBit & T1. Since
kernel 2.2.0 I've used it.
It has never ever failed. 
I heard that some people encountered problems regarding PnP om this card
but it is easy to disable PnP.
I've never had any problmens though.
These cards are very cheap at the moment. 


Richard Torkar
-- 
http://milkyway.thn.htu.se/~ds98rito/
Hoping the problem magically goes away 
by ignoring it is the "microsoft approach to programming" 
and should never be allowed.
                (Linus Torvalds)
============================================================
PGP Key ID / PGP Key Fingerprint:
D40BA0AD   / C7 5D A3 B7 1A 28 7E CE  E6 41 82 AE E6 EC 20 D1

------------------------------

From: Vesa A Norrman <[EMAIL PROTECTED]>
Subject: How to attach socket to file handle
Date: 08 May 1999 10:47:26 +0300


I'm trying to use nbd (network block device).  Userland program should
pass file handle with connected TCP socket to kernel driver.  Now, how
do I attach a socket to a file handle?
-- 
                Vesa Norrman / [EMAIL PROTECTED]

------------------------------

From: Jon <[EMAIL PROTECTED]>
Subject: Remote boot
Date: Fri, 07 May 1999 00:52:19 +0000


I cant remote my sparc from Intel RedHat 5.1 ??

The kernal doesnt suport RARP.


Does anyone have a RARP module ???

The sun just does    Timout on ARP/RARP packet......... as you would
expect.  I've tried sticking the MAC address in the ARP table, doesnt
work ...........

Any ideas

[EMAIL PROTECTED]         -please mail me !






------------------------------

Date: Sat, 08 May 1999 11:33:49 -0600
From: Wayne Kovsky <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,linux.help,linux.redhat.ppp
Subject: Re: netscape 4.51 and IR5

James Smith wrote:
 
> i have downloaded both netscape 4.51 and IE5, and already have netscape
> 4.07 on here. when i tried to install IE5 it said it couldnt run the
> binary. 

Did you download IE5 for Linux?  (Is there an IE5 for Linux???  I only
use Netscape.)

> And I successfully managed to install netscape 4.51 but now
> don't know how to start 4.51 rather than 4.07. can anyone help with
> either of these problems?

You need to know where you installed Netscape 4.51.  It probably was
installed into /usr/local/netscape, or perhaps /opt/netscape.  One way
to find it is to use the locate command:

    locate netscape | less

which will show all the places where files/directories that have
"netscape" as part of the name.  You should be able to tell which is
4.07 and which is 4.51.  On my system, the executable file found is
/usr/local/netscape/netscape; Your Mileage May Vary.

Digression:  if locate doesn't work, you need to create the database --
it gets created on a daily basis by a "cron" job, but if you don't leave
your computer on all the time, that job will never run (it is schedule
to run at about 3:00 a.m. or so), and the locate database will never be
created.  To create it yourself, you can run that cron job manually,
like this (as super-user):

    /etc/cron.daily/updatedb.cron

OK, now that you know exactly where the Netscape 4.51 executable is
located, you can simply type the full pathname each time you want to
execute it -- but that much typing is boring.  You could add it to your
path (in my case, by a statement like this, in your .bash_profile file
-- change the path variable to your own location, of course):

    PATH=/usr/local/netscape:$PATH
    export PATH

But I prefer to create a symbolic link in /bin, like this:

    ln -s /usr/local/netscape/netscape netscape

Since /bin is already in your path, you can now execute Netscape 4.51
simply by typing "netscape" at a command line.

If you still get Netscape 4.07, it is because the path to that version
is ahead of your normal path -- that is probably in your .bash_profile
file, either remove the path to 4.07 entirely, or move it so that /bin
is ahead of it (for the symbolic link method) or that
/usr/local/netscape is ahead of it (for the path method).

-- 
Wayne Kovsky <[EMAIL PROTECTED]>
Colorado Software Summit (A Java Programming Conference)
http://www.SoftwareSummit.com

------------------------------

From: [EMAIL PROTECTED] (Geoff Allsup)
Subject: Re: Linux and PLC Communications
Date: 4 May 1999 12:34:19 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 04 May 1999 00:39:07 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I have just finished an app running on NT that controls a number of
>Allen Bradley PLC's. The app runs fine, but NT is up-and-down like a
>whore's knickers! No more than 5 days between reboots. I was wondering
>if anyone had ever tried to do PLC stuff using Linux as a platform and
>if so, what their experience was like.

No experience with this stuff, but FWIW I think there may have been an
article in Linux Journal in the past year on using PLC's and Linux.  
You might check the LJ website for back issue info - perhaps the 
article is online at this point...

geoff

******************************************************************
Geoff Allsup                   Upper Ocean Processes Group
Woods Hole Oceanographic Institution   Woods Hole, MA, USA
******************************************************************

------------------------------

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Greg Weeks)
Subject: Re: vncserver error
Date: Sat, 8 May 1999 08:42:35 -0500

In article <7guv4e$8bd$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (David Burlage) writes:
> 
> I'm attempting to set up vnc on my Slackware 3.6 Linux box. I am
> able to run the server but when I start it I get the following
> message:
> 
> xauth: (argv):1: bad display name "DB" in "add" command
> xauth: (argv):1: bad display name "DB/unix" in "add" command

What was the vncserver command you used to start with? I found I had
to manually specify the display like "vncserver :0"

Greg Weeks
-- 
http://durendal.tzo.com/greg/


------------------------------

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Greg Weeks)
Subject: Re: Running X through a masquerading router
Date: Sat, 8 May 1999 08:45:40 -0500

In article <7h0tcn$a61$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (Matthias Papesch) writes:
> Hi,
> 
> I've set up a local ethernet in the private IP-space 192.168.0.* . It is
> connected to the internet throgh a masquerading linux router using dynamic
> IP-adresses. So far everything works out. Now I'd like to to run X-programs
> on a remote site, which works fine from the router.But
> 
> how can I connect the DISPLAY to a local system which cannot be seen from
> the outside?

I use ssh to do this. It send the X traffic through the encrypted
tunnel also.

Greg Weeks
-- 
http://durendal.tzo.com/greg/


------------------------------

From: Mark <[EMAIL PROTECTED]>
Subject: Re: Where are the networking card modules loaded?
Date: Sat, 08 May 1999 22:00:52 +0800

in /etc/conf.modules, add
alias eth0 3c509


------------------------------

From: Paul Nevin <[EMAIL PROTECTED]>
Subject: Redhat 6.0 and ipfwadm
Date: Sat, 08 May 1999 16:04:24 +0800

I just installed RedHat 6 which does not have ipfwadm anymore.
Apparently
there is ipfwadm-wrapper and ipchains modules to do the same thing.  Has

anyone managed to configure the new modules to do what many of us do
with
ipfwadm.

Here is my internal ipfwadm configuration to share a single modem with
my
intranet..

extract from my /etc/rc.d/rc.local
############################
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp.o
/sbin/modprobe ip_masq_raudio.o
# deny all ips except specified ones
/sbin/ipfwadm -F -p deny
# allow only these ips
/sbin/ipfwadm -F -a m -S 192.168.10.2/24 -D 0.0.0.0/0 #bob
/sbin/ipfwadm -F -a m -S 192.168.10.3/24 -D 0.0.0.0/0 #jane
/sbin/ipfwadm -F -a m -S 192.168.10.4/24 -D 0.0.0.0/0 #mike
/sbin/ipfwadm -F -a m -S 192.168.10.5/24 -D 0.0.0.0/0 #kym
/sbin/ipfwadm -F -a m -S 192.168.10.6/24 -D 0.0.0.0/0 #paul
# add the route
/sbin/ifconfig eth0 192.168.10.1
/sbin/route add -net 192.168.10.0
echo "IP forwading completed"
###############################

My internal network is running on 192.168.10.x with this linux box/modem
on
192.168.10.1.

Any help appreciated.





------------------------------

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Connect Linux box with Win95 using TCP/IP
Date: Sat, 8 May 1999 09:02:08 -0500

Which distribution of linux?   If you have RH, you might consider using the
'network configurator', if you got X running.

Please post results of 'ifconfig' and 'nestat -nr', and maybe 'cat
/proc/interrupts'.


<[EMAIL PROTECTED]> wrote in message
news:7h1ct1$cu5$[EMAIL PROTECTED]...
> I am trying to connect a Linux and a win95 box using TCP/IP. However, I
have
> not been able to connect the two. Both machines have working ethernet
cards
> and have the correct drivers installed. I think my main problem is
> configuring the Linux side. I have read the NET-3-HOWTO, but it hasnt
helped
> me. In anycase, here is how I set up the linux side:
>
> ifconfig lo 127.0.0.1
> route add 127.0.0.1

Probably not needed.

> ifconfig eth0 192.168.0.1
> ifconfig eth0 netmask 255.255.255.0
> ifconfig eth0 broadcast 192.168.0.255
> route add 192.168.0.0 device eth0

This probably should be:
route add -net 192.168.0.0 device eth0


>
> After doing this, I cant't even ping 192.168.0.1
>
> Anyway, on the Win95 side, I have assigned it IP 192.168.0.2, and
> assigned the gateway as IP 192.168.0.2. The Win95 box can ping itself but
not
> the linux box.

Why sould the default gateway be the WIN95 interface?  If this is just a
local network, you probably don't need a default gateway.  If you setup your
linux box to dial to the internet, it's inteface (192.168.0.1) would be your
default gateway.

>
> Can someone please explain what I am doing wrong? Thanks!
> Rob
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own



------------------------------

From: Alexander Verhaar <[EMAIL PROTECTED]>
Subject: 2 NIC in same IP segment
Date: Sat, 08 May 1999 19:44:05 +0200

Hi, i have configured 2 ethernet cards in one machine.
The first network card is for connectivitie to the internet,
and the other for our own network. Network card 1 has
ip-adress x.x.x.200 and card 2 x.x.x.201.
If i ping from the machine to the internal net i get replies, and if i
ping to the internet i also get replies. But if i ping from the internet
to 1 of the machine behing the firewall it
doesn't reply. It looks like Linux isn't forwarding the
packets, while it's the same IP segment. Has anyone ever
made such a firewall?


------------------------------

Date: Sat, 08 May 1999 01:01:46 -0700
From: "Samuel A. Rogers." <[EMAIL PROTECTED]>
Subject: Re: PPP:  "all had bit 7 set to 0" and "receive serial link is not 8 bit 


I got this very same error message and it drove me nuts for just about 2
months. For me it turned out to be the modem its self. The strange thing
that threw me off was on the same machine I could dial out (ppp) on the
MSDOS system. Someone later I think said that there are some "win"
modems that do not work under Linux. I was runing RH 5.2 at the time. I
am finding that Linux still has its limitations as to what cards can and
can not work with it. Once I switched out the modem cards it dial out
and made the connection the very first time. 

Jhon Smith wrote:
> 
> ......
> connect
> --got it
> send (^M)
> Serial connection established
> using interface ppp0
> connect: ppp0 <--> /dev/ttyS1
> ppp started for ppp0 on /dev/ttyS1 at 57600
> ppp2.3.7 started by root, uid 0
> Device ttyS1 is located by pid 849
> Exit
> LCP: timeout sending confg-Requests
> connection terminated
> connect time 0.6 minutes
> Receive Serial link is not 8-bit clean:
> problem: all had bit 7 set to 0
> Exit.
> 
> anyone know how to fix the "not 8 bit clean" and 'all had bit 7 set to 0"
> and where to locate them?  Thanks!

------------------------------

From: bryan <[EMAIL PROTECTED]>
Subject: Re: DSL questions
Date: Sat, 08 May 1999 14:03:03 GMT

[EMAIL PROTECTED] wrote:

: > first dsl customer and guinea pig.  i'm paying 200.00 a month for the
: > service and 12.00 a month for leasing the modem.  at 768k up and down,
: > thats amazingly cheap. thats half of a t1 at less than 1/5 of the

: Wow! 200/month! I'm 2x that spped on my cable modem at 40/month!

but cable modems (the topology) can die quickly when there's lots of
shared use.  its like one huge collision domain (sort of).  whereas
adsl is more like a switched network.  more users on the net don't
-have- to take the whole thing down.

(btw, I know what I'm talking about - I work at a cable modem company) ;-)

and finally, the cable operators aren't usually the most versed in
high quality customer service.  some are - but they're still the
exception and not the rule.

not saying my dsl provider is all that golden, either (see my ping web
page for MY dsl performance.  it sucks - look at all the
red=unreachable times.  http://Linux-ONE.org/ping.html )

so far, both dsl and cable modems aren't quite 'business ready' in
terms of quality of service or reliability.  sigh.

-- 
Bryan

------------------------------

From: Albert Geyser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: Newbie: Ethernet card not detected
Date: Sat, 08 May 1999 16:58:16 +0900

The NE2000 ethernet driver is probably already in your kernel, or
loadable as a module. Can't remember exactly how I did it, but I had to
putter about with insmod, changing the irq's and the base address before
mine started working.  To see how to use insmod, read
/usr/doc/HOWTO/NET-3-HOWTO.and see if you can find a reference to all
the valid base addresses and irq's somewhere in your card's manual.

Good Luck

Albert Geyser
([EMAIL PROTECTED])



------------------------------

From: [EMAIL PROTECTED] (Vidar Andresen)
Crossposted-To: comp.os.linux.questions
Subject: Re: ARP problems or bad NIC?
Date: Sat, 08 May 1999 09:12:33 +0200

In article <[EMAIL PROTECTED]>,
nate <[EMAIL PROTECTED]> wrote:
>I have 2 PC's at home that I'm networking together.
>One is a p90 running RH5.2 the other is a 486DX4 100mhz also running
>RH5.2.
>The 486 is named skitzo and the pentium is named bipolar.
>
>I have the two PC's connected using twisted pair with 10-Base-T
>SMC-Ultra NIC's and a SMC hub.

Can you outrule the HUB from being a borderliner?  Your two machines
is already a twisted pair, it seems, do they need any wire? ;-)

Well anyway, try to get a crossover tp, and dont use the HUB.

And if the problem stays the same, go http://www.smc.com and get the
setup-util for the nic.  (It fits on 1.44Mb floppy, so if it is
bootabel.)  It have som diagnostic on the card.  And also an
echo-server or something wich let you test if the nic's are working
properly.  You need a crossover tp for that, if you dont use the HUB.
Having two SMC-Ultra NIC's you set up the one as a server.

And you can look over setup on the nic.  There is a 'zero-waitime' (if
problem, turn it to off) and choices for wich interface the card uses.
(combo-card?)

An if you get it to work that way.  Then the real problem must be
somewhere else.

What kind of SMC-Ultra is it?

(I got some 'SMC Elite 16 Ultra (8216, 8216C, 8216T)' very good in
transmitting packets, never any problem with them.  Shared memory
cards.  Are the memory-area shadowed in bios?  I dont do that.
Bootproom's?)

>Since only sporadic packets seem to make it to the 486 from the pentium,
>and none make it back, I guess the NIC in the pentium is bad?
>At first I suspected that there were ARP problems, but now as I explain
>everything t seems that the NIC in the p90 is bad.

As long as you think it is a hardware-problem, sort it out. First.


Mvh Vidar Andresen

------------------------------

From: [EMAIL PROTECTED] (Tobias Reckhard)
Crossposted-To: aus.computers.linux
Subject: Re: IP Masquerading
Date: Thu, 06 May 1999 19:07:12 GMT

On Mon, 3 May 1999 14:28:01 +1000, "Phill Edwards"
<[EMAIL PROTECTED]> wrote:

>I think you also need to set up IP forwarding. Actually I don't understand
>the difference between masquerading and forwarding (anybody?) but there's an

IP forwarding is nothing other than IP routing. IP masquerading is n:1
network address translation. In order to masquerade usefully, you need
to perform routing, aka forwarding, as well.

>excellent Linux Gazette article which explains how to set this stuff up at
>http://lg.forcetech.com.au/issue26/kunz.html
>
>The forwarding they describe and that works for me in my startup scripts is
>#!/bin/sh
>ipfwadm -F -f
>ipfwadm -F -p accept
>ipfwadm -F  -a m -S 192.168.1.0/24 -D 0.0.0.0/0

These are the most basic masquerading rules. What I don't like about
them is the '-a m' bit in the forwarding rule. First of all, it seems
to imply to many that forwarding and masquerading are pretty much the
same (which they aren't). Second, it's inconsistent within ipfwadm.
Rules can be told to accept, reject or deny packets, those are the
three commands there are. Masquerading is an option that makes sense
only in packets accepted for forwarding, but IMHO the proper line is:
ipfwadm -F -a accept -S 192.168.1.0/24 -D 0.0.0.0/0 -m

I'll shut up now. :)

>BTW - as of kernel 2.2 IP forwarding gets replaced by IP Chains. I haven't
>dared try that yet!

Neither have I, but the syntax doesn't look a lot more difficult. I
haven't switched to 2.2 yet either, though.

Tobias

------------------------------

From: [EMAIL PROTECTED] (Joerg Sauer)
Crossposted-To: de.alt.comm.isdn4linux
Subject: Re: Strange problem while connected to foreing host
Date: Sat, 08 May 1999 08:34:03 GMT

>Did you overlook http://x16.dejanews.com/getdoc.xp?AN=461239358
>or did it not help you?
>
>> IP_DYNIP=yes
>
>Try IP_DYNIP=no
I got your answer, but it hasn't worked out!

So any further suggestions?

Thanks 
J�rg

------------------------------

From: Brian <[EMAIL PROTECTED]>
Subject: small first TCP/IP network with linux and mac
Date: Sat, 08 May 1999 10:20:23 -0600



I want to set up a Mac/Linux TCP/IP network.  The machines are already
networked on a 10 base T network.  How do I set up the linux machine?  I
already know what to do with the Macs beacuse I have made a small TCP/IP
network with them that worked.  For now the network won't be connected
to the internet.  I am running redhat linux I was thinking of using the
class C network: 192.168.0.0 - 192.168.255.255 since it's set aside for
non-internet connected networks.  How do I go about this?  I would like
to use netcfg since it's graphical and it's my frist try at network of
this type.


------------------------------

From: [EMAIL PROTECTED] (Tomer Brisker)
Crossposted-To: 
comp.os.linux,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Telnet & Ftp One Way Newbie Help
Date: Sat, 8 May 1999 20:43:35 +0200

Have you checked that /etc/inetd.conf point to the ftp and telnet daemons 
(should be /usr/sbin/in.ftpd and /usr/sbin/in.telnetd respectively, 
IIRC), and that the ports are set up correctly in /etc/services?


In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> You may ned to setup IP Masqurading..  using ipfwadm or ipchains
> (depending on your kernel version)..
> 
> man ipfwadm
> man ipchains
> 
> --
> 
> Derek Lucas
> Systems Technician
> OneNet Communications, Inc.
> mailto:[EMAIL PROTECTED]  http://www.one.net
> 
> On Mon, 19 Apr 1999, Bill V. wrote:
> 
> > I have Rh5.2 recently installed on a box and SCO Unix networked to it with
> > 10Base2 BNC direct thinnet.  I have not changed the original network
> > configuration from the Rh5.2 installed defaults.
> > 
> > I can ping between both machines successfully, and I can telnet and ftp to
> > the Unix box from Linux.  When I try to telnet from Unix to Linux, I get a
> > message that I am connected, but no login.  Similarly, if I ftp from a Win95
> > box (also in the LAN) or Unix, I do not make a connection.
> > 
> > I checked hosts.allow and hosts.deny, both were blank.  I added the line ALL
> > : 132.147.160.1 (my Unix IP) to hosts allow and added the line ALL :
> > PARANOID : rfc931 to hosts deny, then rebooted.  This did not change my
> > results.
> > 
> > Is there a configuration file somewhere that allows Linux to accept telnet
> > and ftp requests?
> > 
> > Thank you for your help.
> > 
> > Bill Vandiver
> > Business Management Systems
> > 502-782-1690
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> > 
> 
> 

------------------------------

From: "Alan Sims" <[EMAIL PROTECTED]>
Subject: @home & Linux
Date: Sat, 08 May 1999 09:08:32 GMT

    Hi. I'm a Linux newbie, so please take that into account. I'm trying to
get Linux set up to work with my cable modem (@home). I know this is
possible, but i can't seem to get it working. I've been trying to set it up
with a static IP, but to no avail. I want to try DHCP, but when I try to
enable it through KDE interface it won't save it. dhcpcd (client) is
installed. I'm using the Caldera version with the 2.2.5 kernel. Could
someone pleeeease help?! Or at least point me to where I can get detailed
info. on this. Thanks in advance :-). oh yeah, I have a 3Com Etherlink III
3c509b card, and Linux does detect it.



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to