Re: Share internet connection/make a small server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- Antonio Olivares <olivares14031@xxxxxxxxx> wrote:

> 
> 
> --- Antonio Olivares <olivares14031@xxxxxxxxx>
> wrote:
> 
> > 
> > 
> > --- Markku Kolkka <markkuk@xxxxxxxxx> wrote:
> > 
> > > Antonio Olivares kirjoitti viestissään
> > (lähetysaika
> > > tiistai, 30. 
> > > elokuuta 2005 01:26):
> > > > [root@rio ~]# service dhcpd start
> > > > dhcpd: unrecognized service
> > > 
> > > dhcpd is the DHCP _server_. Do you want to use
> > this
> > > machine as 
> > > the DHCP server for your network?
> > 
> > Yes, I do.  I am getting closer and close to
> solving
> > this.  Here's what I have done.
> > 
> > I went to 
> > http://fedoranews.org/blog/?p=666
> > and tried to use this as a reference.  Now things
> > are
> > looking brighter.  I changed /etc/dhcpd.conf to
> > mirror
> > the one in the above website changing the domain
> > names
> > to other ones as specified.  
> > 
> > [root@rio sbin]# service dhcpd start
> > Starting dhcpd: Internet Systems Consortium DHCP
> > Server V3.0.1
> > Copyright 2004 Internet Systems Consortium.
> > All rights reserved.
> > For info, please visit http://www.isc.org/sw/dhcp/
> > Wrote 0 leases to leases file.
> > 
> > No subnet declaration for eth1 (192.168.100.1).
> > ** Ignoring requests on eth1.  If this is not what
> >    you want, please write a subnet declaration
> >    in your dhcpd.conf file for the network segment
> >    to which interface eth1 is attached. **
> > 
> > 
> > No subnet declaration for eth0 (10.154.19.136).
> > ** Ignoring requests on eth0.  If this is not what
> >    you want, please write a subnet declaration
> >    in your dhcpd.conf file for the network segment
> >    to which interface eth0 is attached. **
> > 
> > 
> > Not configured to listen on any interfaces!
> > 
> > If you did not get this software from ftp.isc.org,
> > please
> > get the latest from ftp.isc.org and install that
> > before
> > requesting help.
> > 
> > If you did get this software from ftp.isc.org and
> > have
> > not
> > yet read the README, please read it before
> > requesting
> > help.
> > If you intend to request help from the
> > dhcp-server@xxxxxxx
> > mailing list, please read the section on the
> README
> > about
> > submitting bug reports and requests for help.
> > 
> > Please do not under any circumstances send
> requests
> > for
> > help directly to the authors of this software -
> > please
> > send them to the appropriate mailing list as
> > described
> > in
> > the README file.
> > 
> > exiting.
> >                                                   
>  
> >  
> >     [FAILED]
> > [root@rio sbin]# service dhcpd start
> > Starting dhcpd:                                   
>  
> >  
> >     [  OK  ]
> > [1]+  Done                    kedit
> /etc/dhcpd.conf
> > [root@rio sbin]# 
> > 
> > 
> > > 
> > > > No subnet declaration for eth1
> (192.168.100.1).
> > > > ** Ignoring requests on eth1.  If this is not
> > what
> > > >    you want, please write a subnet declaration
> > > >    in your dhcpd.conf file for the network
> > segment
> > > >    to which interface eth1 is attached. **
> > > >
> > > >
> > > > No subnet declaration for eth0
> (10.154.19.136).
> > > > ** Ignoring requests on eth0.  If this is not
> > what
> > > >    you want, please write a subnet declaration
> > > >    in your dhcpd.conf file for the network
> > segment
> > > >    to which interface eth0 is attached. **
> > > >
> > > >
> > > > Not configured to listen on any interfaces!
> > > 
> > > The error message should be quite clear, if you
> > > really want to 
> > > run a DHCP server, you must edit dhcpd.conf to
> > suit
> > > your needs.
> > 
> > You are right.  We are getting there as from above
> > replies.
> > 
> > > 
> > > -- 
> > >  Markku Kolkka
> > >  markku.kolkka@xxxxxx
> > > 
> > > -- 
> > > fedora-list mailing list
> > > fedora-list@xxxxxxxxxx
> > > To unsubscribe:
> > >
> http://www.redhat.com/mailman/listinfo/fedora-list
> > > 
> > 
> > 
> > Best Regards,
> > 
> > Antonio
> > 
> > 
> > 		
> >
> ____________________________________________________
> > Start your day with Yahoo! - make it your home
> page 
> > http://www.yahoo.com/r/hs 
> >  
> > 
> > -- 
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe:
> > http://www.redhat.com/mailman/listinfo/fedora-list
> > 
> 
> I modified dhcpd.conf to 
> 
> [root@rio sbin]# cat /etc/dhcpd.conf
> ddns-update-style interim;
> 
> default-lease-time              600;
> max-lease-time                  7200;
> 
> subnet 192.168.100.0 netmask 255.255.255.0 {
>   option routers 192.168.100.1;
>   option subnet-mask 255.255.255.0;
>   option domain-name-servers 6355-1.example.com,
> 6355-2.example.com;
>   range 192.168.100.2 192.168.100.20;
> }
> [root@rio sbin]#

I do not know how to approach this now.  Apparently
everything is working.  
[root@rio ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr
00:50:2C:A6:19:28
          inet addr:10.154.19.136  Bcast:10.154.19.255
 Mask:255.255.255.0
          inet6 addr: fe80::250:2cff:fea6:1928/64
Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
          RX packets:1087 errors:0 dropped:0
overruns:0 frame:0
          TX packets:453 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:379721 (370.8 KiB)  TX bytes:87477
(85.4 KiB)
          Interrupt:11 Base address:0xae00

eth1      Link encap:Ethernet  HWaddr
00:60:97:C5:2A:C3
          inet addr:192.168.100.1 
Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::260:97ff:fec5:2ac3/64
Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
          RX packets:111 errors:0 dropped:0 overruns:0
frame:0
          TX packets:22 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15629 (15.2 KiB)  TX bytes:3500
(3.4 KiB)
          Interrupt:11 Base address:0xec00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:51 errors:0 dropped:0 overruns:0
frame:0
          TX packets:51 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3718 (3.6 KiB)  TX bytes:3718 (3.6
KiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
frame:0
          TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@rio ~]#  
[root@rio ~]# chkconfig dhcpd --list
dhcpd           0:off   1:off   2:on    3:on    4:on  
 5:on    6:off
[root@rio ~]#  
[root@rio ~]# service dhcpd status
dhcpd (pid 3398) is running...
[root@rio ~]# 

Kind Regards,

Antonio

> 
> apparently everything is working, but I cannot get
> into internet from Windows 98 SE machine using dhcp
> to
> access it.  
> Should I change the subnetmask?
> 
> Should I rename domain-name-servers or just omit
> that
> line?
> 
> Kind Regards,
> 
> Antonio
> 
> __________________________________________________
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux