Linux-Networking Digest #63, Volume #10          Sun, 31 Jan 99 02:13:45 EST

Contents:
  Re: Routing questios ("TEX@go")
  Problem setting 2 PCMCIA NICs ([EMAIL PROTECTED])
  Re: Having trouble with simple filtering firewall on Linux...help(!) (Paul B. Brown)
  Re: Is Linux right for me? ("Daniel W. Murphy")
  How to send packet directly through a NIC (Don't Tell)
  Networking/Cable Modem ("Steven D. Nakhla")
  Re: dhcpd.leases (Stephen Carville)
  SAMBA, NT, Printers. ([EMAIL PROTECTED])
  Re: How to get the local IP address after booting with DHCP? (Stephen Carville)
  Re: multiple dialup on linux (David Efflandt)
  Re: PAP Authentication failure (Josh Gentry)
  NFS and dynamic IP address (John Baron)
  Re: Telnet Puzzle
  .lgdb   (Bow Shock Wave)
  Re: What does this mean? Please? (Paul Jatkowski)
  all (Simon Faulkner)
  Re: PCI Network card problem (Michael Benedict)
  Re: PPP question... ("Edmund C. Greene")
  Re: How to get the local IP address after booting with DHCP? (Luca Filipozzi)
  Re: Networking/Cable Modem ([EMAIL PROTECTED])

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

From: "TEX@go" <[EMAIL PROTECTED]>
Subject: Re: Routing questios
Date: Sat, 30 Jan 1999 22:32:45 -0600

Samba just works.. describe the prob.


Hamlet wrote:
> 
> Hi !
> 
> I Finally got my two network cards working. Thanx for the help so far. But
> now on to the real work.
> I'll try to explain once more my goals.
> I have a Linux box with two NIC's.
> First is a PCNet32 card (10mbit) with IP 192.168.1.1.
> Second is a 3c905B (100mbit) with IP 192.168.2.1.
> 
> as you can see I would like two have two segments, a 10 mbit and a 100 mbit.
> 
> Here comes the big questions:
> -what do I have to do to make that all PC's (all win95) connected in the
> 10mbit area (network 192.168.1.0) can browse the network neighbourhood so
> that they can 'see' all PC's in the 100 mbit area (network 192.168.2.0)
> Note that I need to do file sharing accross the two networks, so a ping is
> not enough, I need to be able to resolve the computer names and shares.
> 
> Well that's it for now, If you can help me in some way PLEASE do not
> hesitate. I really need it :)
> 
> bub eye
> Wouter
> 
> (oh for personal reply's you can reach me at [EMAIL PROTECTED])

-- 
                            Michael H. Collins
                            
                The irony is that Bill Gates claims to making a
                         stable operating system and
             Linus Torvalds claims to be trying to take over the world.
                
                 Linux; The Official OS of the New Millennium
                      
                          http://www.linuxlink.com

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Problem setting 2 PCMCIA NICs
Date: Sat, 30 Jan 1999 18:56:10 GMT
Reply-To: [EMAIL PROTECTED]

I am trying to make my laptop as a router with 2 PCMCIA network cards, but
only one card will work at a time.  Does anyone out there has an experience
making it works?  Please post and email me.  Thanks.

Chak
[EMAIL PROTECTED]

Here is my configuration:
============
I have this line in my lilo.conf
append="mem=16M ether=0,0,eth0 ether=0,0,eth1"
============
Output from /var/run/stab
Socket 0: Xircom IIps Ethernet Card
0       network xirc2ps_cs      0       eth0
Socket 1: Linksys Ethernet Card
1       network pcnet_cs        0       eth1
============
The routing table
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        1 eth1
167.206.216.0   *               255.255.254.0   U     0      0        1 eth0
127.0.0.0       *               255.0.0.0       U     0      0        2 lo
default         hicks216-1.opto 0.0.0.0         G     1      0        2 eth0
============
Output from ifconfig
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:102 errors:0 dropped:0 overruns:0
          TX packets:102 errors:0 dropped:0 overruns:0

eth0      Link encap:Ethernet  HWaddr 00:80:C7:22:9C:92
          inet addr:167.206.217.68  Bcast:167.206.217.255  Mask:255.255.254.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:259 errors:0 dropped:0 overruns:0
          TX packets:43 errors:0 dropped:0 overruns:0
          Interrupt:3 Base address:0x300

eth1      Link encap:Ethernet  HWaddr 00:80:C8:85:EB:D8
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0
          Interrupt:5 Base address:0x340

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: [EMAIL PROTECTED] (Paul B. Brown)
Crossposted-To: comp.security.firewalls
Subject: Re: Having trouble with simple filtering firewall on Linux...help(!)
Date: 30 Jan 1999 20:00:35 GMT

>I have a NT network with 8 servers, and currently do not have a firewall.

Not good.

>I just loaded up a linux server with two network cards to serve as the
>firewall.

Good.  Are you using both an IP filter and an application filter?  Such as
IP/FW or IPChains and TIS/fwtk, Squid, or SOCKS, respectively?

>Both network cards in the linux box respond to pings, so I have networking
>set up just fine.

OK.

>Now, I want to install this firewall _without_ changing any of the IP
>addresses on the NT machines on the inside.  I realize that I will have
>to change the default gateway that my ISP has given me on these machines
>to the IP of the inside NIC on the firewall, and I also realize i may need
>to tell my ISP to set up a next hop route in their routers, but that is
>fine.

Hummm . . . This is a interesting way of doing things.  This means you have
to have setup some special static routes on your Linux firewall.

>Here is my problem.
>
>I have addresses .32 - .64 (.33 - .63 usable). Now, my ISP told me .33 is
>the default gateway, and I assume this is a cisco router.  So, when I set
>up the firewall, .55 and .56 were unused IPs on my block, so I gave the
>OUTSIDE nic .55, and I gave the INSIDE nic .56 So far so good.  then, I
>just plugged both of these nics into a hub with all the rest of my
>machines on it, and I was able to ping both .55 and .56.  But then, I
>unplugged the .56 card, and then tried to ping .56 - it seems to me that
>if I have ip forwarding turned on, I should still be able to ping .56,
>even though it isn't plugged into the hub.  But I can't.

You won't be able to ping unless IP forwarding is on and you have some
ARP and static route statements added to the firewall.  What you are
attempting is NOT a good idea.  The machines that share the same hub as
your firewall are vulnerable to outside influences such as crackers and
other malcontents.  I suggest either re-IPing your inside boxes to private
numbers (10.0.0.0/8) and use the valid IP addresses only on the outside
of your firewall or have your ISP give you another block of 32 to use on
the outside of the firewall.

>I went to /proc/net on my linux redhat 5.1 installation, and there _is_ a
>file called 'ip_forward'.  I was told to 'echo 1 > ip_forward' - but this
>did not fix the fact that i could not ping .56 when it was not plugged in.

Right!  You have no ARP and static route statements to accompany the
IP_FORWARD.  Think of it this way.  How does the one NIC know to listen
for packets destined for the other NIC if you don't tell it to?

>Now, I am all ready to move forward - I have researched and set up all of
>the ipfwadm rules that I want on this simple filtering firewall, but I
>STILL need to actually take it off the hub and put it between the gateway
>that my ISP has and my local network.  And I can't do this unless IP
>forwarding is turned on.

I strongly recommend using a proxy filter as well (TIS fwtk, Squid, or
SOCKS).

>How do i get ip forwarding on?  Is the test I am performing (pinging a
>card that isn't plugged in 'through' the card that is) a good test of
>whether ip forwarding is working the way it should for a filtering
>firewall?

The statement you have above is correct.  IP forwarding is on.  That is
not your issue.  Your issue is static routes and ARP statements.  Read up
on them.

>Both nic 1 and nic 2 have addresses that are part of my normal address
>block, and they also have .33 as the gateway, just like the machines I
>have now do.  Is this right?  or should .56 have a gateway of .55 and
>only .55 should have the old gateway of .33 ???

No.  Once you go to different IP blocks on each NIC this issue will go
away.

>Is the only thing I need to do on the internal machines to change the
>gateway from .33 to .56 ??

Nope.  Read above.

>Is it necessary to set up a next hop route from .33 to .55 ?

Por Que?

Enjoy your day!  :-)

Paul

===========================================================================
Paul B. Brown                          [EMAIL PROTECTED]
President
Brown Technologies Network, Inc.       http://www.btechnet.com/

Unix Systems Administration            "Sailing is a state of mind . . . ."
===========================================================================


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

From: "Daniel W. Murphy" <[EMAIL PROTECTED]>
Subject: Re: Is Linux right for me?
Date: Sun, 31 Jan 1999 05:24:19 GMT

There is a program called "Squid Proxy Server" that you can install.  I am
in the process of setting it up now and would appreciate any help anyone can
offer.


Eric O'Strander <[EMAIL PROTECTED]> wrote in message
news:790erg$2li$[EMAIL PROTECTED]...
>I have a dedicated 486 DX/120 32MB ram and 2 HDD (1 @ 420mb & 1 @ 2.1Gig).
>I just got a cable modem installed this week and want to try to set up a
>Proxy server to share the connection with my other workstations.  Is there
>support in Linux to run a proxy service?  Any tips on pulling this off
would
>be very helpful. Not knowing anything about Linux I'm hoping this is a good
>solution for my old machine to come back to service.
>
>



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

From: Don't Tell <[EMAIL PROTECTED]>
Subject: How to send packet directly through a NIC
Date: 31 Jan 1999 05:22:48 GMT

How can I send my Ethernet packet directly to my NIC?
What function show I use? Thanks.

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

Reply-To: "Steven D. Nakhla" <[EMAIL PROTECTED]>
From: "Steven D. Nakhla" <[EMAIL PROTECTED]>
Crossposted-To: alt.solaris.x86,comp.dcom.modems.cable,sdnet.cablemodems
Subject: Networking/Cable Modem
Date: Sun, 31 Jan 1999 00:40:02 -0500

I am interested in getting a cable modem internet connection through the
local cable provider here in Baltimore, Comcast.  However, there is more
than one computer in the house, and if we want all of them to be wired to
the cable modem, we need to setup a network.  Here is my question:  What all
is involved in that?  I'm a computer science major, so I've got a pretty
decent understanding of the concpets, and all, but I've never setup a
network.   Here is what I *think* is involved, please tell me if I'm right
or way off:

We buy a hub which hooks into the cable modem.  The modem acts sort of as a
"server", to which each of the computers is connected as clients.  Network
cards (ethernet I believe) run into the hub connecting each of the
computers.

Is this right?  Has anyone had experience with this type of connection who
could lend me a hand with it?  Instructions?  Hardware/Software
reccomendations?  Any help you can give would be REALLY appreciated!

Also, I'm running Windows 98, Linux, and Solaris on my computer.  Can I use
the cable modem connection with Linux and Solaris?

please reply to:
Steve Nakhla
[EMAIL PROTECTED]




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

From: Stephen Carville <[EMAIL PROTECTED]>
Subject: Re: dhcpd.leases
Date: 31 Jan 1999 05:48:41 GMT

Jon Horner wrote:
> 
> Can someone send me the format for the /etc/dhcpd.leases file?  I am
> trying to set up a backup dhcp server on my linux box and I don't have
> one of the above files and I need one.

Here is one entry from my machine.

lease 192.168.1.20 {
        starts 5 1999/01/29 04:49:26;
        ends 5 1999/01/29 06:14:20;
        hardware ethernet 00:00:e8:12:11:45;
        uid 01:00:00:e8:12:11:45;
        client-hostname "mirandee";
}

Times are in GMT
                                      
-- 
Stephen Carville
[EMAIL PROTECTED]
====================================================
Management: The art of hiring intelligent, skilled individuals and then
ignoring their advice.

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

From: [EMAIL PROTECTED]
Subject: SAMBA, NT, Printers.
Date: 30 Jan 1999 21:56:58 +0100

 Hello people. Thank you for your attention.
 I've to make SAMBA server running for small department.
 NT PDC (effectively only authentification) + Samba (workhorse - disk space,
backup, printing, etc). All goes fine except I can't figure out meaning of
"Printers" folder. When I have shared printers NT WS connects to Samba
server and sees printers and empty "Printers" folder, When I remove all
shared printers I've only empty folder, if I remove all including [printers]
section I still have this folder. Nearly same goes when I share printers
from NT server. So question, what for do I need this "printers" folder.
F.e. Mars NWE doesn't show such folder. Could I remove it somehow? Actually
I don't care it can stay (security?) and I forgot how to wonder about M$
masterpices but what for did they introduced this folder?

-- 
Andrey Nikolaev                                 Ulm university, 
Department of Biophysics.                       Germany.
                Email: Andrey.Nikolaev@!get-lost-spammer!.uni-ulm.de 
                Substitute physik instead of !*! .                      

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

From: Stephen Carville <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How to get the local IP address after booting with DHCP?
Date: 31 Jan 1999 06:00:16 GMT

Luca Filipozzi wrote:

[snip]
 
> OPTION 2: Use dynamic DNS.
> bind 8.1.2 supports dynamic DNS and comes with an nsupdate program. You
> have two choices:
> SUBOPTION A: dynamically update from server (I haven't done this)
> When the DHCP server daemon allocates an IP address it updates its
> dhcp.leases file. You can configure a cron job to scan the dhcp.leases
> file frequently and to call nsupdate with the hostname and ip address.
> The advantage of this is that it is secure (on the server only). The
> disadvantage is that you're running this cron job very frequently and it
> probably isn't going to do much most of the time. When www.freshmeat.net
> is back up (RedHat's servers are on the move), check out the appindex for
> dynamic DNS.

Is there any documentation on nsupdate?  I can find the utility but there
is no man page or docs anywhere I can find.  The DNS-HOWTO doesn't mention
it either.  Hell, if this works one of my biggest problems with DHCP and
DNS may just be solved!

-- 
Stephen Carville
[EMAIL PROTECTED]
====================================================
Management: The art of hiring intelligent, skilled individuals and then
ignoring their advice.

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

From: David Efflandt <[EMAIL PROTECTED]>
Subject: Re: multiple dialup on linux
Date: Sat, 30 Jan 1999 21:02:49 GMT
Reply-To: [EMAIL PROTECTED]

On 1/30/99, 12:58:06 AM, Louis the Goober <[EMAIL PROTECTED]> wrote=20
regarding multiple dialup on linux:


> I have 2  connection options, 1 is from school the other one is from=20
my
> ISP provider, can anyone tell me how to setup both of them in the same=

> machine ? Thanks

Just set up the 2 connections normally.  But you will need to alter=20
resolv.conf for each so they use proper nameservers.  You can do this=20
from /etc/ppp/ip-up and ip-down (or *.local in RedHat).  Not sure if=20
you need to alter your hostname, but I never have even when connecting=20
to CompuServe with dynamic IP.  In ip-down.local I similarly 'cp=20
/etc/resolv.local /etc/resolv.conf'

Example /etc/ppp/ip-up.local:

#!/bin/bash
#
# This script is run by the pppd after the link is established.
# It should be used to add routes, set IP address, run the mailq=20
# etc.
#
# This script is called with the following arguments:
#    Arg  Name               Example
#    $1   Interface name     ppp0
#    $2   The tty            ttyS1
#    $3   The link speed     38400
#    $4   Local IP number    12.34.56.78
#    $5   Peer  IP number    12.34.56.99
#
# The  environment is cleared before executing this script
# so the path must be reset
#
PATH=3D/usr/sbin:/sbin:/usr/bin:/bin
export PATH

case $4 in
# Add private subnet route through Nat32
172.16.1.*)
        /sbin/route add -net 192.0.0.0 $1
        /sbin/route add -net 192.168.0.0 netmask 255.255.0.0 $1;;
# set params in smb.conf for smb.conf.main
# start Samba for office connections
192.168.6.*)
        echo "[global]" > /etc/smb.conf
        echo "interfaces =3D $4" >> /etc/smb.conf
        echo "config file =3D /etc/smb.conf.main" >> /etc/smb.conf
        /etc/rc.d/init.d/smb start;;
# nameservers needed for ISP
199.245.227.*)
        cp /etc/resolv.xnet /etc/resolv.conf
        sleep 1;;
esac





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

From: [EMAIL PROTECTED] (Josh Gentry)
Subject: Re: PAP Authentication failure
Date: Sat, 30 Jan 1999 09:48:35 -0800

Reference my document on dialin server setup at
http://www.swcp.com/~jgentry/dialin2.html



*** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ***

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

From: John Baron <[EMAIL PROTECTED]>
Subject: NFS and dynamic IP address
Date: 30 Jan 1999 14:03:50 -0800

Our apartment complex is offering T1 access in our apartments
for a certain monthly fee.  For the basic fee we receive a
dynamic IP address.  For an additional fee we can receive a
static IP address.

What I am interested in doing is mounting several file systems
from my office workstation (a Sun Ultra 2 running Solaris) on
my Linux box via NFS.  Can this be done if I have a dynamic
IP address?  I'd rather not pay the additional monthly fee for
the static address, if possible.

The mini-HOWTO on DHCP seems rather sparse--I'm not sure if
this is the answer to my problem.  I'm running RedHat 4.2 with
the 2.0.18 kernel version.

Thanks for any info,

John

-- 
__________________________________________________________________
John Baron         [EMAIL PROTECTED]          (650) 723-3669
Center for Radar Astronomy        http://nova.stanford.edu/~johnb/

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

From: [EMAIL PROTECTED] ()
Crossposted-To: comp.unix.questions
Subject: Re: Telnet Puzzle
Date: 31 Jan 1999 06:11:58 GMT

Stephan Gross ([EMAIL PROTECTED]) wrote:
: I'm telnetting from my Windows 98 box to a three-times removed Unix
: box, like this:     Win98  ->   Router1  --> Router 2  -> Unix
: The Win98 box is on a different network than the Unix box.

: Here's the puzzle:  I can telnet from win98 to Router1, win98 to
: Router2, but not Win98 to Unix.  On the other hand, I can also telnet
: from Router2 to Unix.  How can this be?

Can you telnet from router1 to unix?

It could be that the unix box has a /hosts/allow arrangement allowing
connections from the local LAN segment only.

Router 2 is the only other device (in your diagram) that is on the
same segment as UNIX.

--
Damian Maxwell
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Bow Shock Wave)
Crossposted-To: linux.redhat.misc,alt.os.linux.caldera,comp.os.linux
Subject: .lgdb  
Reply-To: [EMAIL PROTECTED] 
Date: Sat, 30 Jan 1999 22:16:04 GMT

Hi every one

I decided to do system logging

so now I get a file(s) called .lgdb, cool !!!
but what is the best app to read them with

it tells me Data editor is disabled  what Data editor should I use to 
read the logs  ????

Thanks in advance

  

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

From: Paul Jatkowski <[EMAIL PROTECTED]>
Subject: Re: What does this mean? Please?
Date: Tue, 26 Jan 1999 18:05:47 GMT

It looks to me like the driver is having trouble talking to the
card. The message indicates that the driver is waiting for a
"Remote Dma Complete" response from the card after it
has told it to send the packet. Could be that the card is not really
NE2000 compatable. W/ PCI  I would think the driver would
find the correct I/O & IRQ values, but maybe not:? I'd also check
your cables & make sure the link light is on on you hub.

Good luck.

Paul

Nazeeh Amin wrote:

> hi..
>         I am trying to setup a small 2 computer lan using ethernet cards.
> now... It worked on Windows (useless..) My Linux box seems to have a
> problem pinging the Windows machine... my card is a PCI cheap thing...
> the driver i used was the NE2000 PCI which loaded fine. I setup my IP:
>
> eth0      Link encap:10Mbps Ethernet  HWaddr 00:C0:26:C0:90:59
>           inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0
>           TX packets:0 errors:0 dropped:0 overruns:0
>           Interrupt:10 Base address:0xd400
>
> and my routing : using route add -net 10.0.0.0 netmask 255.255.255.0
> eth0
> now... my machine does not ping the other one at all... and in my syslog
> i get this error :
>
> eth0: timeout waiting for Tx RDC.
>
> What does this mean?! I really gotta get this working so that i can
> convince my Boss at work to drop out on NT and get Linux up and
> running.. can someone please help me..
> email me if you can help.. it's urgent... thanx....
>
> Nazeeh Amin..
>
> --
> Second Law of Business Meetings:
>         If there are two possible ways to spell a person's name, you
> will pick the wrong one.
>
> Corollary:
>         If there is only one way to spell a name, you will spell it
> wrong, anyway.




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

From: Simon Faulkner <[EMAIL PROTECTED]>
Subject: all
Date: Sat, 30 Jan 1999 21:57:39 +0000

I have set up my RH 5.2 Linux to accept Dial in connections and I am
trying to allow Win95 users to connect using DUN

I have managed it using a script to pass name, password and then

transmit "exec /usr/sbin/pppd -detach"

but I am wondering how to use DUN without a script.

Can I start pppd from the passwd script or bash_profile

I have tried but with no sucess

Simon

-- 
Simon Faulkner
http://www.elkstone.demon.co.uk

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

From: Michael Benedict <[EMAIL PROTECTED]>
Subject: Re: PCI Network card problem
Date: Sun, 31 Jan 1999 01:12:10 -0500

>
> Is there a way to boot my machine without reading the  /etc/rc.d/rc.modules
> file?
>

Is this a monolithic kernel or a modularized kernel.  If it is modularized,
you can type something like "linux init=1" at the lilo prompt to get it to
boot into linux single user mode and make your changes there, it shouldn't
load any of the modules.  Perhaps even init=2 would work, since that is
multiuser w/o networking.  You could try this with a monolithic kernel, but
I am not sure it will work.  Regardless, you could always try to umount the
boot floppy and mount a dosfloppy with a correct copy of the kernel on
it.  I am not too sure that the floppy kernel would support a dos formatted
floppy, but it is worth a shot.  Obviously, if you can get at a unix box and
create the file you want from there and remount a floppy with that, it should
work.  Hope this helps
    Michael Benedict
    [EMAIL PROTECTED]


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

From: "Edmund C. Greene" <[EMAIL PROTECTED]>
Subject: Re: PPP question...
Date: Sat, 30 Jan 1999 22:28:47 +0000

Never fails, as soon as I break down and post a question, I figure out
the answer.  For those interested, I put this on the CONNECT:

'CONNECT' '\r'

This worked.

Thanks anyway.

Edmund C. Greene
and all that.


"Edmund C. Greene" wrote:
> 
> Just a quick question.  The ISP I am dialing into wants 2 returns after
> the connect, but I don't know how to put 2 in.
> 
> It should be
> CONNECT
> ^M^M
> 
> but chat only sends 1.  When I put two '' in the script nothing happens
> (e.g. 'CONNECT' '' '').  Any idea how I can do this?
> 
> Thanks,
> 
> Edmund C. Greene
> Technical Support Programmer
> Technology Planning & Integration
> Boston College
> [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Luca Filipozzi)
Crossposted-To: comp.os.linux.setup
Subject: Re: How to get the local IP address after booting with DHCP?
Date: Sat, 30 Jan 1999 22:49:32 -0800

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> Luca Filipozzi wrote:
> 
> [snip]
>  
> > OPTION 2: Use dynamic DNS.
> > bind 8.1.2 supports dynamic DNS and comes with an nsupdate program. You
> > have two choices:
> > SUBOPTION A: dynamically update from server (I haven't done this)
> > When the DHCP server daemon allocates an IP address it updates its
> > dhcp.leases file. You can configure a cron job to scan the dhcp.leases
> > file frequently and to call nsupdate with the hostname and ip address.
> > The advantage of this is that it is secure (on the server only). The
> > disadvantage is that you're running this cron job very frequently and it
> > probably isn't going to do much most of the time. When www.freshmeat.net
> > is back up (RedHat's servers are on the move), check out the appindex for
> > dynamic DNS.
> 
> Is there any documentation on nsupdate?  I can find the utility but there
> is no man page or docs anywhere I can find.  The DNS-HOWTO doesn't mention
> it either.  Hell, if this works one of my biggest problems with DHCP and
> DNS may just be solved!
> 
> 
Check out http://simmons.starkville.ms.us/tips/081797/ for more 
information.

Basically, you need to have the allow-update option set in the zone for 
which you want to permit updates.

Also check out http://www.acmebw.com/askmrdns and search for nsupdate.

The commands are as follow:

update add <hostname.yourdomain.com.> <ttl> IN A <ip address>
update delete <hostname.yourdomain.com.>

and can be given on the command line or in command file.

There's also a PERL package that wraps the nsupdate command. Check out 
http://www.fuhr.net/~mfhur/perldns/Update.html.

Finally, don't forget to look at www.freshmeat.net's appindex for the 
cron script that will parse the dhcp.leases file. (once www.freshmeat.net 
is back up, that is)

Luca
-- 
Luca Filipozzi <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.solaris.x86,comp.dcom.modems.cable,sdnet.cablemodems
Subject: Re: Networking/Cable Modem
Date: Sun, 31 Jan 1999 06:55:45 GMT

Check out these links for some info to help you.

========
here are addresses: for documents:
http://www.multiweb.nl/~elkroeske.knor/networks.htm
http://www.aventail.com/index.phtml/support/wingate.phtml
http://www.geocities.com/SiliconValley/Haven/6446/network.html
=====

On Sun, 31 Jan 1999 00:40:02 -0500, "Steven D. Nakhla"
<[EMAIL PROTECTED]> wrote:

>I am interested in getting a cable modem internet connection through the
>local cable provider here in Baltimore, Comcast.  However, there is more
>than one computer in the house, and if we want all of them to be wired to
>the cable modem, we need to setup a network.  Here is my question:  What all
>is involved in that?  I'm a computer science major, so I've got a pretty
>decent understanding of the concpets, and all, but I've never setup a
>network.   Here is what I *think* is involved, please tell me if I'm right
>or way off:
>
>We buy a hub which hooks into the cable modem.  The modem acts sort of as a
>"server", to which each of the computers is connected as clients.  Network
>cards (ethernet I believe) run into the hub connecting each of the
>computers.
>
>Is this right?  Has anyone had experience with this type of connection who
>could lend me a hand with it?  Instructions?  Hardware/Software
>reccomendations?  Any help you can give would be REALLY appreciated!
>
>Also, I'm running Windows 98, Linux, and Solaris on my computer.  Can I use
>the cable modem connection with Linux and Solaris?
>
>please reply to:
>Steve Nakhla
>[EMAIL PROTECTED]
>
>

Steven S. Palmer
([EMAIL PROTECTED])
http://www.geocities.com/HotSprings/Spa/4001/
http://www.primenet.com/~ssp/
http://members.tripod.com/~stevenscott/

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


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