Linux-Networking Digest #207, Volume #11         Wed, 19 May 99 23:13:57 EDT

Contents:
  HP JetDirect (Brian Vicente)
  Re: deleting old version of netscape (David Burlage)
  Multiple eth0 from route -n (Jeffrey Bell)
  Howto Internet telephone behind Firewall? ("J S")
  Re: PPP: where, how? Please Help! (garv)
  redhat 6 and dhcpd, help ("Scott MacDonald")
  Ipfwadm: about input rules and masq (Ste)
  NIS configuration (Ian Dobson)
  Re: RHL6, Samba 2.0.3 NO Workee! ("W.A. Scheer")
  Best Linux Networking Book (Darren Greer)
  Re: Need Linux SNMP documentation (Bruno Quesnel)
  Re: Windows <---> Linux networking (KB8RCO)
  IP policy routing and NAT (Nobody Noone at nowhere)
  HTML based POP tools ("Al Nios")
  Re: Secure shell from Windoze to Linux..... How? (Kenyon Ralph)
  Re: Appletalk:Servers show up in chooser but can't logon (Bob Sutherland)
  Re: HP JetDirect ("�˼��H")
  Re: snmpd configuraiton (Bruno Quesnel)
  Re: IP policy routing and NAT (Francois Magnan)
  Windows Network through Linux box (Antonio Santos)
  Windows Network through Linux box (Antonio Santos)
  Two 3c509 Cards in one computer (Jonathon)
  Re: Win95->Linux PPP can't see past subnet (Clifford Kite)
  Re: intranet setup problem ("Ian")

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

From: [EMAIL PROTECTED] (Brian Vicente)
Subject: HP JetDirect
Date: Thu, 20 May 1999 00:47:38 GMT

I'm trying to find information on how to enable printing to a
JetDirect for a Linux Print Server. Any help would be appreciated.
Thanks,
Brian


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

From: [EMAIL PROTECTED] (David Burlage)
Crossposted-To: linux.help,linux.redhat.ppp,linux.redhat.misc
Subject: Re: deleting old version of netscape
Date: 19 May 1999 12:06:05 GMT

4.6 is out now!

James Lee ([EMAIL PROTECTED]) wrote:
: Jim Thompson <[EMAIL PROTECTED]> wrote:
: : James Smith wrote:
: 
: :> how do i delete netscape 4.07 now that i have 4.51 installed?
: 
: If it is tarballs, maybe how about delete everything related to 
: netscape and then reinstall 4.51?
: 
: If rpms or deb, use the respective package managers.
: 
: : rm /<homedir>/.netscape
: 
: : then cp /usr/lib/netscape /<homedir>/.netscape
: 
: the ~/.netscape directory is created when you run netscape for the first
: time or if it does not exist. No need to physically copy over.

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

From: Jeffrey Bell <[EMAIL PROTECTED]>
Subject: Multiple eth0 from route -n
Date: Thu, 20 May 1999 02:11:33 +0000
Reply-To: [EMAIL PROTECTED]

I have two machines networked together. I ran route -n command and noticed on one 
machine

the following:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
206.115.158.44  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         206.115.158.44  0.0.0.0         UG    0      0        0 ppp0

There are two entries for eth0, is this correct? This is my /etc/hosts for both 
machines.

127.0.0.1       localhost
192.168.1.1     pegasus.zbadlands.org   pegasus
192.168.1.2     raptor.zbadlands.org    raptor

The other machine has only two entries from route -n

192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

Now on to another problem, I've noticed that on the other machine when I run ifconfig 
-a

I've noticed a lot of TX errors and a lot of dropped packets.

Any ideas or comments?

--
Jeffrey A. Bell
   -------------------------------------------------------------------------

 Research is what I'm doing when I don't know what I'm doing.
                        -- Wernher von Braun --





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

From: "J S" <[EMAIL PROTECTED]>
Subject: Howto Internet telephone behind Firewall?
Date: Wed, 19 May 1999 13:36:42 +0200

How do i get internet telephone (qtalk, buddyphone,...) work on win98
machines behind a linux RH 6.0 firewall?
And how can I view popup messages in win98 machines when the user got new
mail, or the server has to reboot?



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

From: garv <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: PPP: where, how? Please Help!
Date: Wed, 19 May 1999 15:06:16 -0700

Xiaowen Hong wrote:

> I am having trouble with ppp.
>
> I am using LT internal modem, which is fine under win98,  but linux 5.2 can not find
> that.
>
>

Are you positive this is not a winmodem?



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

From: "Scott MacDonald" <[EMAIL PROTECTED]>
Subject: redhat 6 and dhcpd, help
Date: Wed, 19 May 1999 17:18:00 -0500

I have redhat6 2.2.5 server configured with dhcpd to hand out 192.168.x.x
leases, but when I try to get a lease with a windows box, it says access
denied? Any suggestions?

Thanks

Scott



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

Date: Wed, 19 May 1999 14:29:08 +0200
From: Ste <[EMAIL PROTECTED]>
Subject: Ipfwadm: about input rules and masq

Hi,

my lan surf the web through a firewall running rh 5.2, kernel 2.0.36 and
diald 0.16.5.
The lan is masquerated:
/sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0 #(should I add "-W
eth0"?) 

The lan uses private ip addresses like 192.168.1.X
My ISP uses dynamic IP address.
Win clients open/close the connection through dialmon.

Days ago, I clocked debug to 1 in diald.conf, looking for traffic which
made sometimes diald keep calling without request.

Monitorin /var/log/messages, I discovered:

P.S.: suppose FIP = firewall's dynamic IP address, as provided from my
ISP;
              PIP = remote IP address (my ISP's server);
              LANIP = lan's private ip address of the client that's connecting
                      to the web.               

..diald[238] filter accepted rule 1 ... packet FIP, 61100 => PIP,53
..diald[238] filter accepted rule 1 ... packet PIP, 53 => LANIP,1026
                                                          ^^^^^
The firewall send requests for the client (and that's ok), but the
answers come to the clients inside the lan ?
Shouldn't they not exist for everyone beyond the firewall ?

Imput rules are:
/sbin/ipfwadm -I -p deny
/sbin/ipfwadm -f
/sbin/ipfwadm -I -a accept -S 192.168.1.0/24 -D any/0
/sbin/ipfwadm -I -a accept -S 127.0.0.1 -D any/0
/sbin/ipfwadm -I -a accept -P tcp -S any/0 -D any/0 1024:65535
/sbin/ipfwadm -I -a accept -P udp -S any/0 -D any/0 1024:65535

Forward policy is deny

I need help

Thanx 

Ste

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

From: Ian Dobson <[EMAIL PROTECTED]>
Subject: NIS configuration
Date: Thu, 20 May 1999 01:33:55 GMT

I'm trying to setup a NIS server for  RH 6.0 one PC acting as a server
and 2 workstations.. its more of an exercise really than a real project
at this point.

anyway I've read thru the docs, and I think I'm more confused now :(
does anyone have some sample config files that I can use to get it up an
running, or at least point me in the right direction?



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

Date: Wed, 19 May 1999 16:31:21 -0700
From: "W.A. Scheer" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: RHL6, Samba 2.0.3 NO Workee!

Thanks for the tip re: smb.conf.default - I didn't know there was such a file
existed. My SAMBA config is pretty 'hosed up' by now with all of the
modificatiosn I've been trying in order to get this thing working!!!

Celestino Okenve Ndo wrote:

> Steve Smoogen wrote in message ...
> >Hi what kind of problems are you experiencing? (Text errors would be the
> >most helpful.) Thanks
> >
> >
> >On Mon, 17 May 1999 11:58:36 -0700, W.A. Scheer <[EMAIL PROTECTED]> wrote:
> >>I've done a 'workstation' load of RHL and added SAMBA using RPM. I've
> >>tried everythiing under the sun and can't seem to get the danged thing
> >>working!
> >>
> >>The smbclient util seems to work OK, but I can't use smbmount worth a
> >>darn. Taking the opposite approach, setting up the smb.conf doesn't get
> >>me any MS98 readable shares - they don't even show up in the browsw
> >>list.
> >>
> >>This is my first REAL try at using SAMBA. Any pointers? Suggestions? is
> >>this 'broken' under RHL6? I'm using the following books as my
> >>references:
> >>
> >>1) Teach Yourself SAMBA in 24 Hours  (Sams)
> >>2) Samba (SSC)
> >>3) Linux Network Toolkit (IDG)
> >It all seem very straightforward - but 'no go'
> >>TIA
> >>W.A. Scheer
> --
> >SJS  --  Red Hat Technical Support
> >[Please be aware I cannot always answer email directly emailed at me. I
> > try to answer on the news groups for more people to see the information
> > and correct me if I am wrong :)]
>
> Try to edit smb.conf.
> Copy smb.con.default to smb.conf  save the old one. Then try to modify by
> hand
> following some tips included in man and books. After three tryings you will
> get something (printer or directories or mounted devs visible). If no
> visible, from clients try to give the path \\your_linux_machine_name
> Be sure linux can resolve names or edit hosts file in /etc.
> Good Luck.


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

From: [EMAIL PROTECTED] (Darren Greer)
Subject: Best Linux Networking Book
Date: Thu, 20 May 1999 01:34:45 GMT

Hello all.

I am interested to find out what books Linux Network Administrators
out there are using as references/guides to mainting a network using
Linux.  Things such as configuration, performance tuning, etc, are a
key factor in what I am looking for.  I read the review of "The Linux
Network" in LJ, but it seems to be "streamlined" for slackware.  I am
using Debian, so any book(s) that anyone can point out, will be
greatly appreciated.  Thanks,

Darren


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

From: Bruno Quesnel <[EMAIL PROTECTED]>
Subject: Re: Need Linux SNMP documentation
Date: Thu, 20 May 1999 01:17:24 +0000
Reply-To: [EMAIL PROTECTED]


==============FCE366B86C70C106DE8CDA8A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I've just finish setup of a site of about 20 machines unins ucd snmp
daemon.  Does a good job on reporting certain statistics built-in the
daemon.

If you want more detail, please email me and can work something out....

Mike Michaud wrote:

> Is there any documentation on SNMP setup and programming for Linux?
>
> Thanks in advance.

--
Bruno Quesnel                         [EMAIL PROTECTED]
Genie Electrique                      [EMAIL PROTECTED]
Electrical Engeneering                [EMAIL PROTECTED]
Ecole de Technologies Superieure      VA2 BMG



==============FCE366B86C70C106DE8CDA8A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I've just finish setup of a site of about 20 machines unins ucd snmp daemon.&nbsp;
Does a good job on reporting certain statistics built-in the daemon.
<p>If you want more detail, please email me and can work something out....
<p>Mike Michaud wrote:
<blockquote TYPE=CITE>Is there any documentation on SNMP setup and programming
for Linux?
<p>Thanks in advance.</blockquote>

<pre>--&nbsp;
Bruno 
Quesnel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 [EMAIL PROTECTED]
Genie 
Electrique&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 [EMAIL PROTECTED]
Electrical 
Engeneering&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 [EMAIL PROTECTED]
Ecole de Technologies Superieure&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VA2 BMG</pre>
&nbsp;</html>

==============FCE366B86C70C106DE8CDA8A==


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

From: [EMAIL PROTECTED] (KB8RCO)
Subject: Re: Windows <---> Linux networking
Date: 20 May 1999 01:54:55 GMT

>From the documentation I've seen.  I believe when you are using TCP/IP the
addresses 0 and 255 are reserved.  Neither machine should utilize either as one
of the physical machines.

I've been reading "Linux Network Toolbox" and he recommends having the servers
start at the higher addresses and the clients at the lower:
     192.168.1.2     Client1
     192.168.1.3     Client2
     192.168.1.4     Client3

     192.168.1.254   Server1
     192.168.1.253   Server2

That's just to separate the clients from servers.  It does say 192.168.1.1 is
reserved - can't remember for what - and 192.168.1.255 is reserved - broadcast

>I've been trying just to get them to ping each other
>without much success. I've set them up with 192.168.1.
>addresses, with the Linux box setup to be the gateway.
>
>Now the Linux box is happy pinging itself (192.168.1.1),
>but it does not find 192.168.1.2 (the Windows box).
>In fact, the arp cache says that the address 192.168.1.2
>maps to 00:...:00 -- showing that 192.168.1.2 is not
>announcing itself. 
>


73 de KB8RCO
         Rob


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

From: [EMAIL PROTECTED] (Nobody Noone at nowhere)
Subject: IP policy routing and NAT
Date: Wed, 19 May 1999 12:55:38 GMT

I've downloaded the official NAT support for linux. But I'm not able
to do this simple thing : statically translate one internal IP with an
external one (and answering to arp request to).

Does anyone know which command I should give to map, for example, the
IP 192.168.1.10 (internal) to 194.133.0.10 (external) ?
I've tryed these :

ip route add nat 194.133.0.10 via 192.168.1.10 table local
ip rule add from 192.168.1.10 nat 194.133.0.10 table main 

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

From: "Al Nios" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: HTML based POP tools
Date: Wed, 19 May 1999 09:06:13 -0400

I'm fairly new at Linux (2.2) and have a couple of questions regarding
e-mail and Linux. I want to setup up a server that will allow users to
access their e-mail using:
1- Clients such as Microsoft Outlook, Netscape, etc
2- HTML based Clients

Can anyone tell me if I need any special software for 1 (or do I simply use
sendmail) and 2 what is the best tools to setup and HTML client.

Thank You for your help

Al Nios



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

From: Kenyon Ralph <[EMAIL PROTECTED]>
Subject: Re: Secure shell from Windoze to Linux..... How?
Date: 20 May 1999 00:30:59 GMT

Tad wrote:
> I have ssh running from Linux to Linux, but how do I do this from a
> Windoze box to my Linux box?

There are several programs available, but the one I use is called Tera 
Term Pro.  Get the main program from 
ftp://riksun.riken.go.jp/pub/pc/misc/terminal/teraterm/ttermp23.zip and 
then get the ssh plugin from http://www.zip.com.au/~roca/ttssh.html.

==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

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

From: Bob Sutherland <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.os.linux
Subject: Re: Appletalk:Servers show up in chooser but can't logon
Date: Wed, 19 May 1999 08:07:28 -0500

How about your Linux username and password?


Michael wrote:
> 
> [EMAIL PROTECTED] schrieb:
> 
> > I have managed to get Appletalk to work as far as getting the server to show
> > up in the chooser on the Mac. There are two options "Guest Volume" and "User
> > Volume".
> >
> > When I try log in to "Guest Volume" it asks for a username and password,
> > which I don't know. I have tried many possibilities and nothing works. It
> > says the password is wrong please try again.
> >
> > How and where do I define such a user and password?
> >
> > When I try and log in to "User Volume" it says "Server did not use a
> > recognizable log on sequence".
> >
> > Here are the setup files...
> > afpd.conf
> >         "Guest Volume" -cleartxt -loginmesg "Welcome guest!"
> >         "User Volume" -noguest -loginmesg "Welcome user."
> >
> > atalk.conf
> > eth0 -phase 2 -net 0-65534 -addr 65280.86
> >
> > Apple Volumes.system
> > #volumes
> > /home/apple "Linux Zone"
> > #I have created the /home/apple directory
> >
> > config
> > APPD_MAX_CLIENTS=5
> > ATALK_NAME=`echo ${HOSTNAME} | cut -d -f1`
> > APPD_NOCLR=-C
> > APPD_NOGUEST=-G
> > APPD_GUEST=nobody
> > PAPD_RUN=yes
> > APPD_RUN=yes
> > ATALK_BRGROUND=yes
> >
> > papd.conf  -  empty
> >
> > /etc/shells
> > /bin/bash
> > /bin/sh
> > /bin/ash
> > /bin/bsh
> > /bin/tcsh
> > /bin/csh
> > /bin/ksh
> > /bin/zsh
> >
> > -----------== Posted via Deja News, The Discussion Network ==----------
> > http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
> 
> Hallo,
> Was du brauchst ist eine Version von Netatalk bei der die Shadow Passwort
> optionen eincompiliert sind.
> 
> Ab Suse 5.2 ist funktioniert das.
> 
> Gru�
> Michael, [EMAIL PROTECTED]

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

From: "�˼��H" <[EMAIL PROTECTED]>
Subject: Re: HP JetDirect
Date: Thu, 20 May 1999 09:37:05 +0800

If u r using the 500 model, u can refer to the lpd session in the manual. if
u use redhat, the printtool can help u to setup easily!!!

actually, all u need is to setup tcp/ip printing.


Brian Vicente <[EMAIL PROTECTED]> wrote in message
news:7hvm0r$nnu$[EMAIL PROTECTED]...
> I'm trying to find information on how to enable printing to a
> JetDirect for a Linux Print Server. Any help would be appreciated.
> Thanks,
> Brian
>



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

From: Bruno Quesnel <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.protocols.snmp
Subject: Re: snmpd configuraiton
Date: Wed, 19 May 1999 13:25:41 GMT


==============D5751F3B151E154F13D18B8D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Thanks.

This information I finally got.  The next problem is to get information about
memory.  I'd like to do the same with memory as for disk, i.e. maybe combine
swap & real memory, compute a % out of it.

Then I'd be happy.  I think to do that I'd need to change the code to add an
element to the definition.....

Wes Hardaker wrote:

> >>>>> On Fri, 14 May 1999 12:32:38 GMT, Bruno Quesnel <[EMAIL PROTECTED]> said:
>
> Bruno> I need help configuring snmpd for about 20 machines.  I would
> Bruno> need the possibility to monitor some processes, CPU load and
> Bruno> disk space on each machines.
>
> Put the following lines in your snmpd.conf file:
>
>    disk / 10%
>    load 6 4 4
>    proc sendmail
>
> Then, have HPOV monitor the following oids for a updward threshold
> value of 1 and a lower of 0, which you can create scripts to change
> the color of icons, etc, etc...
>
>   .1.3.6.1.4.1.2021.2.1.101.1
>   .1.3.6.1.4.1.2021.9.1.101.1
>   .1.3.6.1.4.1.2021.10.1.101.1
>
> That should give you a start at least...
>
> --
> "Ninjas aren't dangerous.  They're more afraid of you than you are of them."

--
Unix is user-friendly; it's just a little particular about which
                   users it is friendly to.

Bruno Quesnel                                [EMAIL PROTECTED]
Genie Electrique                             [EMAIL PROTECTED]
Electrical engineering                       VA2 BMG
Ecole de technologie Superieure



==============D5751F3B151E154F13D18B8D
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks.
<p>This information I finally got.&nbsp; The next problem is to get information
about memory.&nbsp; I'd like to do the same with memory as for disk, i.e.
maybe combine swap &amp; real memory, compute a % out of it.
<p>Then I'd be happy.&nbsp; I think to do that I'd need to change the code
to add an element to the definition.....
<p>Wes Hardaker wrote:
<blockquote TYPE=CITE>>>>>> On Fri, 14 May 1999 12:32:38 GMT, Bruno Quesnel
&lt;[EMAIL PROTECTED]> said:
<p>Bruno> I need help configuring snmpd for about 20 machines.&nbsp; I
would
<br>Bruno> need the possibility to monitor some processes, CPU load and
<br>Bruno> disk space on each machines.
<p>Put the following lines in your snmpd.conf file:
<p>&nbsp;&nbsp; disk / 10%
<br>&nbsp;&nbsp; load 6 4 4
<br>&nbsp;&nbsp; proc sendmail
<p>Then, have HPOV monitor the following oids for a updward threshold
<br>value of 1 and a lower of 0, which you can create scripts to change
<br>the color of icons, etc, etc...
<p>&nbsp; .1.3.6.1.4.1.2021.2.1.101.1
<br>&nbsp; .1.3.6.1.4.1.2021.9.1.101.1
<br>&nbsp; .1.3.6.1.4.1.2021.10.1.101.1
<p>That should give you a start at least...
<p>--
<br>"Ninjas aren't dangerous.&nbsp; They're more afraid of you than you
are of them."</blockquote>

<pre>--&nbsp;
Unix is user-friendly; it's just a little particular about which
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 users it is friendly to.

Bruno 
Quesnel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 [EMAIL PROTECTED]
Genie 
Electrique&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 [EMAIL PROTECTED]
Electrical 
engineering&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 VA2 BMG
Ecole de technologie Superieure</pre>
&nbsp;</html>

==============D5751F3B151E154F13D18B8D==


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

Subject: Re: IP policy routing and NAT
From:  [EMAIL PROTECTED] (Francois Magnan)
Date: Wed, 19 May 1999 13:32:07 GMT

On 05/19/99, Nobody Noone at nowhere wrote:
>I've downloaded the official NAT support for linux. But I'm not able
>to do this simple thing : statically translate one internal IP with 
an
>external one (and answering to arp request to).
>
>Does anyone know which command I should give to map, for example, the
>IP 192.168.1.10 (internal) to 194.133.0.10 (external) ?
>I've tryed these :
>
>ip route add nat 194.133.0.10 via 192.168.1.10 table local
>ip rule add from 192.168.1.10 nat 194.133.0.10 table main 
>

Hi,

I don't know what you mean by the official NAT support but here is a 
hint on the steps you need to do:

1)      Get a recent kernel +2.2.5 (or install RH6.0)
        IP Masquerading (NAT) is built-into them.

2)      Read: 
http://www.ecst.csuchico.edu/~dranch/LINUX/ipmasq/ipmasq-HOWTO-1.71.ht
ml 
        You will find everything there...
        

3)      Get ipmasqadm from:
        http://juanjox.linuxhq.com/

Hope this helps a bit.
Francois Magnan

-- 
______________________________________________________
Francois Magnan
Departement de Mathematique & Statistiques
Universite de Montreal
email: [EMAIL PROTECTED] (MIME, NeXTMail Ok!)


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

From: Antonio Santos <[EMAIL PROTECTED]>
Subject: Windows Network through Linux box
Date: Wed, 19 May 1999 12:36:01 +0100

Hi

Please, consider the following problem: I have a Linux box in a lab
directly connected to a faculty's network; this network includes
all kinds of computers and OSs, but most of them are W98. Because
we have this single connection in the lab, I've set up IPmasquerading
in my Linux box to serve an intranet of W98 boxes. Everything is
working fine but the W98 in the intranet cannot be seen by the
W98 outside the intranet. To reach these outside computers from
the inside ones I know I can use "\\hostname" in the Start/Run
window from W98. I guess I can't do the same stuff in the oposite
direction.

My question is: is there any other way of setting up my Linux box
so as it can deal with MS Network transparently? I can get true
IPs for my internal boxes, at least for some of them. Can I do this
by routing or ipforwarding? Can I have this services running side
by side with ipmasquerading (because some of the computers will not
have a true IP).

Thanks in advance

Antonio Santos

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

From: Antonio Santos <[EMAIL PROTECTED]>
Subject: Windows Network through Linux box
Date: Wed, 19 May 1999 12:37:32 +0100

Hi

Please, consider the following problem: I have a Linux box in a lab
directly connected to a faculty's network; this network includes
all kinds of computers and OSs, but most of them are W98. Because
we have this single connection in the lab, I've set up IPmasquerading
in my Linux box to serve an intranet of W98 boxes. Everything is
working fine but the W98 in the intranet cannot be seen by the
W98 outside the intranet. To reach these outside computers from
the inside ones I know I can use "\\hostname" in the Start/Run
window from W98. I guess I can't do the same stuff in the opposite
direction.

My question is: is there any other way of setting up my Linux box
so as it can deal with MS Network transparently? I can get true
IPs for my internal boxes, at least for some of them. Can I do this
by routing or ipforwarding? Can I have this services running side
by side with ipmasquerading (because some of the computers will not
have a true IP).

Thanks in advance

Antonio Santos

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

From: [EMAIL PROTECTED] (Jonathon)
Subject: Two 3c509 Cards in one computer
Date: 20 May 1999 02:18:06 GMT

Newsgroups: comp.os.linux.networking
References: <7hao1l$rjc$[EMAIL PROTECTED]>
Subject: Re: Two 3c509 Cards in one computer


        
Curt" <[EMAIL PROTECTED]> wrote:

>I assume you don't want eth1 at irq 3, since that is reserved for 2nd
>serial port (COM2).
 
        IRQ 3 is where the 3Com  utility said that there was 
        an available IRQ SLOT

> You probably want to use IRQ 10 or 11 for eth1.  IRQ 5 is fine for eth0.

        The VGA card uses IRQ 10, and something else uses IRQ
        11.  I don't use any of the serial ports, so using
        IRQ 3 or 4 shouldn't affect the machines

>Try this in your /etc/conf.modules

>options eth0 io=0x210 irq=5
>options eth1 io=0x300 irq=10
>options eth1 io=
>alias eth0 3c509
>alias eth1 3c509

        Thanks.  

        I tried that out.

        It didn't work, though.  When I went to check
        them, after a system reboot, that had been overwritten.
        SO I rewrote it.  Did a chmod to 444 and the cards
        were not seen at all by the system.  

        Any more suggestions/ideas?

        Wonodering if compiling a kernel with the drivers
        installed would be faster and easier.   

To recap the problem

 Operating System: Linux
 Distribution: RedHat 5.2
 CPU Intel Pentium II
 RAM 64 MB
 Network Protocol TCP/IP
 Network Cards 3Com 3c509B  ISA
 {  3c509B, not 3c905B }

 PnP for the network cards has been disabled.
 Testing them using the DOS Utilities on the disk
 we recieved with the card shows that each
 card does work

 /etc/hosts is as follows

 127.0.0.1 localhost localhost.localdomain
 209.102.31.165 vrystaat.stamp-coin.com
 209.102.31.166 firewall.stamp-coin.com
 209.102.31.164 natal.stamp-coin.com
 209.102.31.163 capeofstorms.stamp-coin.com

 ifconfig gives the following output
 ( Which is _not_ adjusted for LF/CR )

 lo Link encap:Local Loopback
           inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
           UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
           RX packets:2483 errors:0 dropped:0 overruns:0 frame:0
           TX packets:2483 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0

        After the recommended conf.modules is written
        and the system is rebooted.




-- 
        I'm still looking for a good book on
                3:      The Recent Unpleasantness
                1:      The War Of Northern Aggression.
                2:      The War of Southern Rebellion.

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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.protocols.ppp
Subject: Re: Win95->Linux PPP can't see past subnet
Date: 19 May 1999 07:21:11 -0500

Robin Munn ([EMAIL PROTECTED]) wrote:

: The Windows box (I'll call it "winbox") can't see past the class C
: subnet it's on. The Debian box (I'll call it "thorn") has IP a.b.65.12
: and is assigning IP's a.b.65.101 and a.b.65.102 to incoming calls on
: each of its two modems. (I'll hook up more modems once I can get this
: whole thing working). Now thorn is on a 20-bit subnet: its netmask is
: 255.255.240.0. At IP a.b.64.1 is a router that connects this subnet to
: the rest of the school's network (and thus to the Internet). a.b.64.2

: Destination    Gateway   Genmask         Flags   Metric   Use   Iface
: a.b.65.102     0.0.0.0   255.255.255.255  UH       0       0     ppp0
: a.b.64.0       0.0.0.0   255.255.240.0    U        0      26     eth0
: 127.0.0.0      0.0.0.0   255.0.0.0        U        0       0     lo
: 0.0.0.0        a.b.64.1  0.0.0.0          UG       1       5     eth0

You can make this work by adding the pppd proxyarp option and using 
the pppd IP assignment option a.b.64.12:a.b.64.X where a.b.64.X is a
free IP for the a.b.64.0 network, assuming that it's subnetted class C.
IP forwarding must be compiled into the kernel and turned on with
"echo -n 1 > /proc/sys/net/ipv4/ip_forward".  This is all that's needed
for a 2.0.x kernel.

The proxyarp lets return packets find their way back to thorn and be sent
though the PPP interface when thorn and the call-in are on the same subnet.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Those who can't write, write manuals. */

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

From: "Ian" <[EMAIL PROTECTED]>
Subject: Re: intranet setup problem
Date: Thu, 20 May 1999 13:23:06 +1200

Sounds to me like it's already running.

Do a "ps ax" and see if anything with httpd shows up.

Ian

[EMAIL PROTECTED] wrote in message <7hvhqu$re5$[EMAIL PROTECTED]>...
>I'm trying to set up a Linux box as an intranet
>server. I'm running SuSE 5.1 and Apache. Following
>the intranet setup Howto, when I type in
>% httpd $
>
>I get the message:
>% bind: Address already in use
>% httpd: Could not bind to port 80
>
>Does this sound like a problem with the Ethernet
>card setup, or a Linux configuration problem. Any
>suggestions would be greatly appreciated.
>
>Thanks in advance,
>
>Jay Oram
>
>
>--== Sent via Deja.com http://www.deja.com/ ==--
>---Share what you know. Learn what you don't.---



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


** 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