Linux-Networking Digest #268, Volume #12         Wed, 18 Aug 99 07:13:39 EDT

Contents:
  Re: IPforwarding in 2.0.31 (Raymonds Doetjes)
  Re: Ignorance On Parade!--The Samba Years! (Raymonds Doetjes)
  Ethernet Channel bonding ("Hefin James")
  Re: Connection to NetWare 5.0 server (Raymonds Doetjes)
  Re: Sizing a server and other things (Raymonds Doetjes)
  Re: Linux box in NT network ("Zbigniew M. Strzempa")
  Re: Exchange server clone for Linux? (Raymonds Doetjes)
  Squid & undesired dial-ups (Joseph Tweed)
  Samba Mapping drives based upon group membership (Raymonds Doetjes)
  anonymous upload on ftp server ("Niem")
  SAMBA->Mapping drives based upon group membership (Raymonds Doetjes)
  Re: Can't get 3c905b working...HELP???? (Johannes Ziegler)
  Re: Linux vs. Wingate (Florian Lorenzen)
  Re: IP Forwarding - What happens without it? (Raymonds Doetjes)
  Re: DNS Problem? (Florian Lorenzen)

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

From: Raymonds Doetjes <[EMAIL PROTECTED]>
Subject: Re: IPforwarding in 2.0.31
Date: Wed, 18 Aug 1999 11:47:15 +0200

Hahahaha this is not realy strange, since IPforward works on several subnets I
assume that 192.168.1.4 and 192.168.1.1 both are 255.255.255.0 (class C) and
then the ip stack will see that it is the local net so it won't need to
forward.

You should subnet your network so that it can use ipforward.
In novell/netware they won't even let you add a addres to another nic if it
has the same subnet.

Raymond

"Tris Thorne (LTH)" wrote:

> Hi folks
> I have an IP forwarding problem (I *think*) in an old 2.0.31 kernel. I am
> using it because a previous project built a "Wide Area Link Emulator"
> (WALE) traffic shaper/bandwidth limiter into it.
> (http://ece.iisc.ernet.in/netlab/)
>
> It is for an IP telephony project - investigating the effects of a poor
> network on the H.323 protocol suite.
>
> I have set up the following in the laboratory:
> ________________
> Windoze2000-Host
> Ether 192.168.1.2
> ---------------------------
>   |
>   |
> _|_________________________
> eth1 192.168.1.4
> Dual Homed Linux2.0.31 router
> eth0 192.168.1.1
> ---------------------------------------------
>  |
>  |
> _|_____________
> ether 192.168.1.3
> WindozeNT-Host
> ------------------------
>
> IP Number       HWaddress               Card
> 192.168.1.2     00:10:4b:42:cd:ec       3Com905 removable on the pci
> 192.168.1.4     00:c0:4f:4b:9f:7b       3Com905 on the motherboard*
> 192.168.1.1     00:60:97:2e:27:c3       3Com595 removable on the pci
> 192.168.1.3     00:c0:4f:c9:83:e8       3Com** on the motherboard
>
> * it's a 905, but I needed the up-to-the-minute driver from Donald Becker
> to run it, so maybe its a slightly different chipset or sthg
>
> ** I cant remember what that one is but it's a good one, and works fine.
>
> A while ago, I got a RH6 2.2.5 kernel routing properly, so I became
> familiar with the ins & outs of the routing & arp table.
> The problem with this 2.0.31 kernel is that it will not forward packets
> across from 192.168.1.4 --> 192.168.1.1 and vice versa.
> From 192.168.1.2 (Windoze) can ping 192.168.1.4 but no further
> From 192.168.1.3 (Windoze) I can ping 192.168.1.1 but no further
> From the router shell I can ping everything. (when its all set up - see
> below)
>
> so my goal is to get a ping from 192.168.1.3 to get across to 192.168.1.2 &
> vice versa - then I can run MS Netmeeting on the hosts, and control the QoS
> with the bandwidth limiter on the router kernel. I have ipv4 going, and
> also ip_forward seems to be running (at least its echoing 1).
> Can anyone tell me what I'm doing wrong or what I'm not doing at all to get
> this working! please! This project's got to be finished this week!!
>
>
> Also, I am a bit perplexed (& vy interested!) by this: I do not actually
> need to do any arp entries on the router:
> After booting, I can ping eth0. of course. (that's all I can reach though)
>
> entering the route to 192.168.1.3  with #route add -host 192.168.1.3 dev
> eth0
>
> then I can ping 192.168.1.3
>
> I have to insmod the latest 3c59x.o driver for eth1, and ifconfig it up,
> and ifconfig its address to 192.168.1.4 (this is all OK)
>
> But I cannot ping 192.168.1.4 yet!
>
> entering a route to 192.168.1.4 with #route add -host 192.168.1.4 dev eth1
>
> only *then* I can ping it (192.168.1.4)
>
> And of course setting up a route to 192.168.1.2 with
> #route add -host 192.168.1.2 dev eth1
> allows me to reach that one (192.168.1.2)!!!
>
> the system seems to take quite a while for the first ping to go through -
> like it is having a bit of trouble looking up the hardware address of the
> NICs.
> but it seems to enter the right arp settings itself - although they are not
> flagged "permanent". - and it "forgets" them after a while but a ping
> restores them again....
>
> Anyone that can explain this, I would be interested!
>
> But my real cry for help is how to get IP forwarding running properly on
> this kernel!!! please! anyone!! help!
> I'd be glad to help anyone with any other queries, I have a *bit* of
> experience on routing!
> Thanks
> Tris (pretty much still a newbie :-<  )
>
> ps - The problem is not caused by the WALE modifications on the 2.0.31
> kernel - I have tried to do the same thing on a RH5.2 kernel v2.0.36 with
> no modifications, and get the same problems. I *think* the problem is just
> something I am not configuring right in the kernel, but I am pretty lost
> for what it is!
>
> --
> Tris Thorne - Lab 4127 Telecommunications, LTH Sweden
> [EMAIL PROTECTED]
> http://www.webspawner.com/users/piltack


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

From: Raymonds Doetjes <[EMAIL PROTECTED]>
Subject: Re: Ignorance On Parade!--The Samba Years!
Date: Wed, 18 Aug 1999 11:10:19 +0200

Check out my post on Samba mapping drives based on group membership I have
attachet my complete smb.conf. Beware this server uses a registered Ip addres
so you should alter it! and it is a logon server so that your windows clients
can logon to the server as if they logged onto a NT server.

You can also check out my fileservers area on
http://node102bd.a2000.nl/rdoetjes

Raymond

Hiawatha Bray wrote:

> Well, anyway, it seems like years that I've been trying to get Samba to work
> right.  I'm getting close, but...
>
> I've upgraded to Samba 2.0.3 and RedHat 6.0.  I have gotten it to the point
> where Samba runs and I can see an icon for my Linux machine when I open
> Network Neighborhood in Windows.  But when I click on this icon, I get a
> deuced unpleasant response, telling me that the computer or sharename is not
> available.
>
> I'm almost there...can somebody help me over this last hump?  Thanks.


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

From: "Hefin James" <[EMAIL PROTECTED]>
Subject: Ethernet Channel bonding
Date: Wed, 18 Aug 1999 09:57:33 +0100

Hi all,

We've just taken delivery of some new fileservers, which are running Linux.
Does anybody know if Linux can bond ethernet channels together to connect to
a Cisco Catalyst switch??



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

From: Raymonds Doetjes <[EMAIL PROTECTED]>
Subject: Re: Connection to NetWare 5.0 server
Date: Wed, 18 Aug 1999 11:11:31 +0200

You can connect over tradional IPX/SPX with ncpmount
and you can also run nfsgw on Netware so that it will act as a nfs server.

There are no client tools to connect over NCP using IP (wich is now
possible in Netware 5)

Raymond

John Ireland wrote:

> Hi
>
> I would like to know of any software necessary for RedHat 6.0 to enable
> it to connect to a NetWare 5.0 server.
>
> Thanks
>
> John


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

From: Raymonds Doetjes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Sizing a server and other things
Date: Wed, 18 Aug 1999 12:06:26 +0200

The CPU is suffiencient depending on your internet/intranet connection.
If you have a T1 with 1.54Mb/s it is more then sufficient if you have a
ethernet based intranet with 100Mb/sec per connected workstation, it
might get nippy If they all deside to hit the server at once (wich is
probably not going to happen since the ethernet backbone will get
stuffed first).

 >>If it is an intranet server wich 4000 clients it should probably be a
swicthed ethernet!<< Since hubs won't pull the load.

So in short the CPU is in most cases enough! When the only serve static
HTML pages. When you run CGI-scripts then the load will go to processing
these gateway calls depending on those scripts you can either add a
dedicated cgi server or add more CPU power and memory.

80 MB of memory is pretty small though for 4000 x 2 MB of data.
Specially when they like to sirf arround since then you will not have
enough cache memory. I suggest testing the 80 MB and if they don't have
any perfomance problems due to swapping it's okay other wise I suggest
looking at the used amount of the swap file (you do that with free) and
add that amount of memory to the server. (Don't be to friendly on your
swap page!!! make it large enough even better is to add a sepreate disk
for the swap file an old 850 MB scsi drive dedicated for this task is
very good!).

Now the software issues

Nope, apache does not support asp though there are tools to convert asp
files to php3 (php3 is a standard scripting langueage to build
interactive pages). This tool is called asp2php3 (the database support
isn't implemented!!!)

Yes apache wil support frontpage and frontpage extensions.

To build nice databse interface you use perl with DBD extension or C.
Perl is better and easier to learn.

To gove the users an certain amount of disk space on their home drive
than you should compile a kernel with Quota Manger, and install the
Quota tools.

Here is also a small tip. To upload the students there pages you should
let them ftp to the server with their own user name and password. Then
the will "land" into their own homedrive/section and their they can
upload the site. Now all you have to do is make a link from the
httpd/htdocs to the users homedrive (wich should by the way be world
readable then).

You do this as followed
ln -s /home/rdoetjes /home/httpd/htdocs/rdoetjes

what this command does is it creates a symbolic link wich is for the os
like a directory but the content is somewhere else.
In this case we created a virtual directory called rdoetjes in the root
of the webserver. But this directory it's contents lies in the home
directory of the user rdoetjes on /home/rdoetjes.
So to reach it from a browser you issue www.test.com/rdoetjes and voila.
there it is.

This is a nice trick wich keeps all files seprated in their own
directories.

Well goodluck Raymond




Lloyd Parsons wrote:

> I work for a small k-12 Education VAR in a very rural part
> of Illinois.  We
> have had a request from one of the school systems to install
> a web server.
> Well, since we have wanted to start somewhere with Linux as
> part of our
> product mix, we thought this was an ideal area to begin
> with.
>
> But, none of us at work are anywhere near being Linux
> experts, nor even web
> server experts, but we are willing to learn.  I have a few
> questions that I
> need answers to.  Direct answers preferred, but pointers to
> the right FAQ,
> readme and so on would also be nice.
>
> The plan is to have a single server serve up for about 4000
> students and
> teachers and want to be able to put up the school's website
> and allow all
> teachers and students to put up their own web pages,
> allowing about 2mb of
> disk space per person, plus some overhead for the school
> itself.
>
> Figuring out the disk space isn't an issue, and I figure
> that I will upgrade
> the machine they are willing to allow us to use to a scsi
> hd.  The rest of
> the parameters on the box are P5/233, 80mb ram.  Is this
> enough horsepower
> for what they want to do?
>
> Then to apache.
>
> 1.  Will it support ASP?
> 2.  Will it effectively support FrontPage?  Many of the
> students and
> teachers are not very computer literate and this would
> probably be the
> program that they would choose to make their pages.
>
> Am I missing anything here?
>
> If I am undershooting with the hardware, feel free to
> suggest.
>
> Thank you
>
> Lloyd


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

Date: Wed, 18 Aug 1999 11:15:29 +0200
From: "Zbigniew M. Strzempa" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.smb
Subject: Re: Linux box in NT network

> [global]
>    workgroup = NT-DOMAIN
>    server string = Samba Server
>    hosts allow = 192.10.10. 127.
>    guest account = share
>    log file = /var/log/samba/log.%m
>    max log size = 50
>    security = user
>    password server = 192.10.10.1
>    encrypt passwords = no  # for NT up service pack 3 should be set to "yes"


read the ENCRYPTION.txt in samba docs.

cheers
max

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

From: Raymonds Doetjes <[EMAIL PROTECTED]>
Subject: Re: Exchange server clone for Linux?
Date: Wed, 18 Aug 1999 11:30:20 +0200

If you would like the Workgroup capabilities for this and use outlook,
then you should use OpenMail from HP (wich has been ported to Linux
recntly).
The server is free, but a client connection costs arround 60 dollars.

Raymond

[EMAIL PROTECTED] wrote:

> I am curious if there exists a Microsoft Exchange
> server "clone" for a Linux server so that one
> could use Outlook on windows machines but Linux on
> a server and have the "collaboration" that one
> would have with a standard Outlook and Exchange
> server setup?
>
> ---------
> John


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

From: Joseph Tweed <[EMAIL PROTECTED]>
Subject: Squid & undesired dial-ups
Date: Wed, 18 Aug 1999 12:26:31 +0200

I think I posted something to this effect before, but as I still don't
know the answer, I'm trying again.
I'm running suse linux 6.0 + squid 2.2 on one machine, win98 + netscape
on another. My linux machine is configured for automatic dial-up.
Sometimes, I would surf to certain sites. After exiting netscape, the
linux machine would dial up for no good reason, accessing the site I had
visited earlier. This happens even after I reboot or turn off the win98
machine, so it has nothing to do with windows wanting to dial up ever so
often.
My explanation is that scripts are being cached by squid, and that these
scripts are being allowed to run.
Does anyone know about this problem, and what to do about it?
Thanks in advance.



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

From: Raymonds Doetjes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Samba Mapping drives based upon group membership
Date: Wed, 18 Aug 1999 10:56:28 +0200

This is a multi-part message in MIME format.
==============06C186310AAA64D87C004EF2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

(Sorry I forgot to attache the sample files sorry about that ;-)

I have created a logonscript.pl wich creates Windows logonscripts on the

fly on a per user bases. This means that there are virtualy no problems
anymore for creating complex inlog scripts based upon group memberships.

You can also extend this logonscript.pl to create even more complex
tasks (like I have done such as starting the X-server on the windows
machine and starting sever X application during the inlog process). You
can do anything aslong as the Client can start those applications from a

batch file ;-)

This is done by the use of the
root preexec method in the [netlogon] service wich is started first.

To use this script you should add these changes to your smb.conf file

[global]
logon script = %U.bat

[netlogon]
; This first statement runs de logonscript.pl file with de username as
paramter
root prexec = /usr/local/netlogon/logonscript.pl %U

;This second statement removes the %U.bat file after the user has
disconnected from this share/service
root postexec = rm /usr/local/netlogon/%U.bat

I have attached my own smb.conf and the logonscript.pl

You should alter the $server="PHONAX" constant in to your own server
such as
$server="MYSERVER"; whatever ;-)

Perhaps you should edit the logonscript.pl file to alter the paths of
the group file and the destination path of the %U.bat file. I always use

/usr/local/netlogon

Regards

Raymond Doetjes

==============06C186310AAA64D87C004EF2
Content-Type: text/plain; charset=us-ascii;
 name="smb.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="smb.conf"

[global]
   workgroup = phonax!
   guest account = nobody
   keep alive = 30
   os level = 2
   security = user
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   
   domain master = yes
   preferred master = yes
   domain logons = yes
   logon path = \\phonax\%U\profiles
   #logon script = logon.bat
   logon script = %U.bat
   logon drive = h:
   logon home = "\\phonax\%U"
   encrypt passwords = yes 
   
   socket options = TCP_NODELAY

 ; Please uncomment the following entry and replace the
 ; ip number and netmask with the correct numbers for
 ; your ethernet interface.
    interfaces = 194.79.210.1/255.255.255.0

 ; If you want Samba to act as a wins server, please set
 ; 'wins support = yes'
    wins support = yes

 ; If you want Samba to use an existing wins server,
 ; please uncomment the following line and replace
 ; the dummy with the wins server's ip number.
 ;   wins server = 192.168.1.1

[netlogon]
  comment = On the fly creation off Logon script
  root preexec = /usr/local/netlogon/logonscript.pl %U
  root postexec = rm /usr/local/netlogon/%U.bat
  path = /usr/local/netlogon
  guest ok = no
  read only = no 
  locking = no

[homes]
   comment = Home directories
   browseable = no
   read only = no
   create mode = 0750
   oplocks = True

; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;

[root]
  comment = Alles
  path = /
  read only = yes
  oplocks = True

[cdrom]
   comment = Linux CD-ROM
   path = /cdrom
   read only = yes
   locking = no

[zip]
  comment = Linux ZIP drive
  path = /mnt
  read only = no
  locking = no

[prikbord]
  comment = Voor tijdelijk gebruik
  path = /prikbord
  read only = no
  locking =no
  oplocks = True

[archief]
  comment = Voor permanente opslag
  path = /archief
  read only = no
  locking = no
  oplocks = True

[sybase]
  comment = Sybase sotfware dir
  path = /opt/sybase
  read only = no
  locking = yes
  oplocks = true

[printers]
   comment = All Printers
   browseable = no
   printable = yes
   public = no
   read only = yes
   create mode = 0700
   directory = /tmp

==============06C186310AAA64D87C004EF2
Content-Type: application/x-perl;
 name="logonscript.pl"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="logonscript.pl"

#!/usr/bin/perl

##Const that identiefies the servername
$server="PHONAX";

##1 Open /etc/group.
##2 Parse the data with the : char so that you get group name,x and users
##3 Now on item 3 in the parsed array is are the users
##4 Now parse the user list with a , char to obtain the individual users
sub ingroup($)
{
  open (FD,"</etc/group");
  while (<FD>)
  {
    my $a=$_;
    my @parsed=split(':',$a);
    if (@parsed[0] eq @_[0]) 
    { 
       my @user=split(",",@parsed[3]);
       foreach $user (@user)
       {
         $user =~ s/\n//g;
         if ($user eq lc($ARGV[0])) {return 1};
       }
    } 
  }
}

##Start to create the logon script
open (LOGON,">/usr/local/netlogon/$ARGV[0].bat");

##Map default drives that are used by everyone
##The douvle slashes are needed since perl interprets a single \ is a
##control charachet. So this leaves us with a syntax that is common with the
##smbclient asswell
print LOGON "\@ECHO OFF\r\n";
print LOGON "NET TIME \\\\$server /SET /YES\r\n";
print LOGON "NET USE H: /HOME\r\n";
print LOGON "NET USE E: \\\\$server\\ZIP\r\n";
print LOGON "NET USE J: \\\\$server\\PRIKBORD\r\n";
print LOGON "NET USE G: \\\\$server\\ARCHIEF\r\n";

##Map drives based upon group memberships
##The double slashes are needed since perl interprets a single \ as a
##cpntrol character
if (&ingroup("sybase")) {print LOGON "NET USE I: \\\\$server\\SYBASE\r\n"};
close LOGON;
close FD;

==============06C186310AAA64D87C004EF2==


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

From: "Niem" <[EMAIL PROTECTED]>
Subject: anonymous upload on ftp server
Date: Wed, 18 Aug 1999 12:30:53 +0200

I like to give the  user anonymous upload rights to my ftp-server.
I've tried a couple of things, but can't get it working.
Can anyone tell me how to do this?

Niem



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

From: Raymonds Doetjes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: SAMBA->Mapping drives based upon group membership
Date: Wed, 18 Aug 1999 10:54:29 +0200

I have created a logonscript.pl wich creates Windows logonscripts on the
fly on a per user bases. This means that there are virtualy no problems
anymore for creating complex inlog scripts based upon group memberships.

You can also extend this logonscript.pl to create even more complex
tasks (like I have done such as starting the X-server on the windows
machine and starting sever X application during the inlog process). You
can do anything aslong as the Client can start those applications from a
batch file ;-)

This is done by the use of the
root preexec method in the [netlogon] service wich is started first.

To use this script you should add these changes to your smb.conf file

[global]
logon script = %U.bat

[netlogon]
; This first statement runs de logonscript.pl file with de username as
paramter
root prexec = /usr/local/netlogon/logonscript.pl %U

;This second statement removes the %U.bat file after the user has
disconnected from this share/service
root postexec = rm /usr/local/netlogon/%U.bat

I have attached my own smb.conf and the logonscript.pl

You should alter the $server="PHONAX" constant in to your own server
such as
$server="MYSERVER"; whatever ;-)

Perhaps you should edit the logonscript.pl file to alter the paths of
the group file and the destination path of the %U.bat file. I always use
/usr/local/netlogon

Regards

Raymond Doetjes


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

Date: Wed, 18 Aug 1999 10:44:06 +0200
From: Johannes Ziegler <[EMAIL PROTECTED]>
Subject: Re: Can't get 3c905b working...HELP????

Daniel Bonds wrote:

> Sounds like a basic enough question, but I swear it's driving me
> nuts...First off, I have an Abit BP6 w/ a 3c509 and 3c905b. The 509
> works fine and I can't get the 905 to work with the 509 or by itself.
>
> First off, I did turn off plug and play in the bios.. didn't work with
> it on, obviously.. Also tried turning on and off plug and play in the
> kernel. Again, no go.
>
> I've tried compiling the drivers into the kernel and passing the
> append="ether=10,0x300,eth0 ether=11,0xA800,eth1" parameter from lilo
> or in the lilo.conf file. Just passing 0's instead of the irq's and
> addressed didn't help either. Still no go.
>
> I've tried compiling the drivers as modules. I can modprobe/insmod the
> 3x95x module just fine, but lsmod reports it as unused. An interesting
> note is that /proc/ioports and /proc/interrupts had shown no signs of
> eth1 (3c905) up until now. With the module manually inserted,
> /proc/ioports did show the 0xA800 range being occupied by eth1, but no
> interrupt was taken in /proc/interrupts.
>
> I also tried configuring the additional card through linuxconf, but I
> suspect my problem is lower level than that.
>
> Can anyone think of anything to try? any place to look? I'm still
> relatively new to Linux and have very little hardware troubleshooting
> skills on this OS. Very frustrating....I wanted to give Linux a shot
> mostly for the learning experience, but had enough learning from this
> experience.. I'm ready to move on and learn something else. :-)
>
> Thanks in advance..
> Daniel
>
> PS - I also tested the card on a Win98 box with no problems.

I've also experienced some problems with the 3C card in a linux box.
The problem was a quite old driver in the kernel source.
Maybe yours is too old.
Try it with the newest one from Donald Becker.
(available @  http://cesdis1.gsfc.nasa.gov/linux/drivers )

Good luck.
Johannes Ziegler
[EMAIL PROTECTED]
(feedback always welcome)



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

From: Florian Lorenzen <[EMAIL PROTECTED]>
Subject: Re: Linux vs. Wingate
Date: Wed, 18 Aug 1999 09:53:21 +0100

Monte Phillips wrote:
> 
> The REAL question, of course, is:  Do you want stability.  Wingate,
> Sysgate etc all are dependent upon windows, hence when windows goes
> gen'l fault error on you, or simply freezes, guess what so does your
> network.   As for Colins remark that Wingate was faster that simply
> isn't true.  As he mentioned he put linux on a 486 and ran the
> network, he certainly didn't run Wingate on that machine and run a
> network.
> As for  linux being 'hairy',  thats bs.  It si only as hairy as you
> want it to be.  You can have a linux server (once linux is loaded) and
> a windows group samba'd and running smoothly in a short afternoon.
> There are several sites with step by step instructions for networking
> linux<->WinX
> 
> g'Luk


Could you name some of the sites?

-Thanks

Florian

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

From: Raymonds Doetjes <[EMAIL PROTECTED]>
Subject: Re: IP Forwarding - What happens without it?
Date: Wed, 18 Aug 1999 11:07:41 +0200

You should only enable ip forward when you like other clients connected to your
ethernet to communicate through masquerading towards the internet.

What ip forwarding does is: It will setup a route from all your network interface
to all your network interfaces. So you don't have to enter static routes between
your interfaces.

Raymond

chuanwee wrote:

> Hi,
>
> I am having this setup of a PC with a Ethernet card for the LAN network. And at
> regular interval, this machine will connect up to my ISP using an external
> modem.
>
> Does this means that I must include ip forwarding in my kernel? Can anyone tell
> me what happens if this is not done? Will the speed of either networks get
> affected?
>
> THanx for any feedback :-)


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

From: Florian Lorenzen <[EMAIL PROTECTED]>
Subject: Re: DNS Problem?
Date: Wed, 18 Aug 1999 10:01:10 +0100

I don't really understand the question but I'll have a try.

So what  you want is not just a caching-only nameserver but one that
knows some adresses itself. As I don't know what domains you mean (are
they bogus, or real domains, do you mean special hosts you know the IPs
etc.) I now can't tell how to set up your nameserver. But you have to
configure your BIND properly, i. e. you need a root.hints-file and
zone-files. And you have to set up your hosts.conf-file properly.

It should look like this:

# /etc/hosts.conf
order hosts, bind
multi on

Is your problem specific to Netscape? Try nslookup to test your
nameserver-configuration.
Have a look at the DNS-HOWTO (sunsite.unc.edu/LDP) that covers the topic
quite good.

-Florian



"R. Alcazar" wrote:
> 
> Hello all,
> 
> I've set up a workstation running RHL 6 and DNS.   It's a single station
> looping any DNS inquiries back to itself.  In other words, there are several
> domains with the same IP address as the host.
> 
> The problem is when I try and boot up Netscape from X, when I set nameserver
> in resolv.conf to the IP address my DNS is running on (the IP of the above
> mentioned host) Netscape will never resolve any of the local domains I
> enter.
> 
> I'd like to have it set up where it first checks with the local DNS and then
> the outside...  but whenever I configure resolv.conf - nameserver as the
> same IP as my host...  Netscape locks up... any suggestions...
> 
> Please advise.
> R. Alcazar

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


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