Title: RE: [expert] Internet Connection Sharing

Ok... got it half working now. The front end of it (cable modem to eth0) is working and I have internet connectivity. The back end (eht1 to hub) is working also, the dhcp server is setup and I can ping the pc's. The problem was that I had the wrong nic provisioned. That shouldn't have really mattered, as I should have been able to switch my configuration to have eth1 up front (connected to cable modem) and eth0 connected to my lan. It simply refused to work that way.

I had the correct nic provisioned this morning, the box now has internet connectivity, but I didn't have time to finish sharing it out (wife was nagging me about being late for work).

Thanks everyone, especially with the DHCPD config.

-----Original Message-----
From: Ron Heron [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 12:32 AM
To: [EMAIL PROTECTED]
Subject: RE: [expert] Internet Connection Sharing


yeah, for some reason, it didn't install by default for me.  dunno why
--- "George Jones (IT)" <[EMAIL PROTECTED]> wrote:
> Funny thing - when I went to setup the connection sharing, it asked for
> both
> cd 1 and 2, and installed bind, dhcp server, and a couple of other
> things.
> One would figure that these things would have been installed by
> default...
> (I'll save that for a future rant)
>
>
>
> -----Original Message-----
> From: Ron Heron [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 3:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [expert] Internet Connection Sharing
>
>
> In order to set up dhcp server, you need to download the dhcp package.
>
>
ftp://rpmfind.net/linux/Mandrake/updates/7.2/RPMS/dhcp-3.0b2pl9-3mdk.i586.rp
> m
>
> That one should work.
>
> Then, edit dhcpd.conf, here is mine....
>
> subnet 192.168.0.0 netmask 255.255.255.0 {
>         option routers 192.168.0.1;
>         option subnet-mask 255.255.255.0;
>         option domain-name "heronet.2y.net";
>         option domain-name-servers 192.168.0.200;
>         range dynamic-bootp 192.168.0.10 192.168.0.199;
>         default-lease-time 21600;
>         max-lease-time 43200;
>         } 
>
> The option routers is the ip of the gateway, which is usually
> 192.168.0.1,
> the domain-name is whatever you want it to be, which is probably the
> hostname of your server.  The domain-name-servers is the domain name
> server that you want to use.  I use a caching name server, so that is
> the
> reason for a local net addy.  I suggest a separate entry for each entry
> in
> your /etc/resolv.conf file (each server has to have a line with a
> semi-colon).  This is not mandatory, if your client pc's are configured
> with a dns, but it makes it easier to do it via dhcpd.  The range is the
> range of ip's you want to use.  the times are in seconds, default should
> be ok.
>
> Then, restart, and add to chkconfig:
>
> #service dhcpd restart
> #chkconfig --add dhcpd
> #chkconfig --level 2 dhcpd on
> #chkconfig --level 3 dhcpd on
> #chkconfig --level 4 dhcpd on
> #chkconfig --level 5 dhcpd on
> #chkconfig --list
>
> Now, it will always be running, and it works very well.
>
> Good luck, and let me know if you need more assistance.
>
> >"Jose Orlando T. Ribeiro" <[EMAIL PROTECTED]> wrote:
> >
> > Itīs easier than that... in one network interface do you have the DHCP
> > address
> > that you've got from Road Runner, the other network interface you
> should
> > have a
> > private address (something like 192.168.0.1) and the other computers
> you
> > should
> > config 192.168.0.1 as the gateway and the network address as
> > 192.168.0.2.
> >
> > orlando
> >
> > > "George Jones (IT)" wrote:
> > >
> > > I have Comcast Road Runner cable. I get my ip address via dhcp. That
> > part had
> > > been set up already. Sharing the connection didn't work. I would
> like
> > to set
> > > up the pc to share the connection to 5 other pc's in the house. I'm
> > guessing
> > > that I need to assign ip addresses to the other 5 machines via dhcp
> > from my
> > > server, but I can't find any way to configure that.
> > >
> > > -----Original Message-----
> > > From: Jose Orlando T. Ribeiro [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, November 13, 2001 1:16 PM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: Re: [expert] Internet Connection Sharing
> > >
> > > What don't work? The sharing or your connection to the Internet?
> > >
> > > I've read a message sometime ago about DHCP...
> > >
> > > I don't know what kind of connection do you have, but I remember
> that
> > if you
> > > use
> > > a connection from At Home, you receive, besides the dinamic ip
> > address, a host
> > >
> > > name, and without that host name your connection donīt work.
> > >
> > > HTH
> > >
> > > orlando
> > >
> > > > "George Jones (IT)" wrote:
> > > >
> > > > I'm trying to set up my 8.1 box to share out my net connection to
> > the rest
> > > of
> > > > my pc's.
> > > >
> > > > eth0 - cable connection comes in here, get's it's ip addy via
> dhcp.
> > > > eth1 - connects to the hub.
> > > >
> > > > I walked through the "wizard" to get this setup. After completing
> > it,
> > > > everything should have been working, right? Nope. There doesn't
> > appear to be
> > >
> > > > any way for me to check this configuration as it just tries to go
> > through
> > > the
> > > > wizard again. ifconfig shows both nics and loopback device.
> > > >
> > > > Is there something I'm missing here? How do I configure it further
> > (setting
> > > up
> > > > dhcp server, etc)
> > > >
> > > > George Jones IV
> > > > Store Systems Support
> > > > Borders Group Inc.
> > >
> > > --
> > >
> > >         ,~~v~~,            ,~~v~~,
> > >        ,'.   .',          ,'.   .',
> > >       ===  +  ===        ===  +  ===
> > >        /   ~   \          /   ~   \
> > >       /\_m   m_/\        /\_m   m_/\
> > >      .\  +----------------------+  /.
> > >      /   ! [EMAIL PROTECTED]  !   \
> > >       /  +----------------------+  \
> > >        `\m/ \m/'           `\m/ \m/'
> >
> > --
> >
> >         ,~~v~~,            ,~~v~~,
> >        ,'.   .',          ,'.   .',
> >       ===  +  ===        ===  +  ===
> >        /   ~   \          /   ~   \   
> >       /\_m   m_/\        /\_m   m_/\
> >      .\  +----------------------+  /.
> >      /   ! [EMAIL PROTECTED]  !   \ 
> >       /  +----------------------+  \ 
> >        `\m/ \m/'           `\m/ \m/'
> >
> > > Want to buy your Pack or Services from MandrakeSoft?
> > Go to http://www.mandrakestore.com
> >
>
>
> =====
> ^C
> quit
> :q
> exit
> ?
> help
> shit
>
> __________________________________________________
> Do You Yahoo!?
> Find the one for you at Yahoo! Personals
> http://personals.yahoo.com
>
>


=====
^C
quit
:q
exit
?
help
shit

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

Reply via email to