Ok upon following Jacks details, I have encounted a problem.

I m sure its a simple fix, but I am unable to see where i have gone wrong.

ok here are the files involved

IFCFG-ETH0

---------------
DEVICE=eth0
BOOTPROTO=static
IPADDR=10.10.1.1
NETMASK=255.255.255.0
NETWORK=10.10.1.0
BROADCAST=10.10.1.255
ONBOOT=yes
MII_NOT_SUPPORTED=yes
------------------

IFCFP-ETH1

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

DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
MII_NOT_SUPPORTED=yes

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

Upon following this

"Then go to /etc/sysconfig/network-scripts and setup scripts for eth2,
copying eth1's for guidance."

Then i did this


DHCPD.CONF
-----------
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0 {
        # default gateway
        option routers 192.168.1.1;
        option subnet-mask 255.255.255.0;
        option domain-name "redirectme.net";
        option domain-name-servers 192.168.1.1;
        range dynamic-bootp 192.168.1.16 192.168.1.253;
        default-lease-time 21600;
        max-lease-time 43200;
}
ddns-update-style none;
subnet 10.10.1.0 netmask 255.255.255.0 {
        # default gateway
        option routers 10.10.1.1;
        option subnet-mask 255.255.255.0;
        option domain-name "redirectme.net";
        option domain-name-servers 10.10.1.1;
        range dynamic-bootp 10.10.1.16 10.10.1.253;
        default-lease-time 21600;
        max-lease-time 43200;
}
-----------------------

The first "}" in between the 2 ranges I have tryed it with it removed, and
the dhcpd fails to load, I figure it should be removed but i need the dhcpd
up for now, so that explains the rouge "}"

and finally my "rules" for shorewall remain unchanged at the moment, as i
cant even get the dhcpd to assign addys on the second nic,


again, if anyone of great wisdom can advice me, It would be of a great help.

----- Original Message ----- 
From: "Jack Coates" <[EMAIL PROTECTED]>
To: "Mandrake Expert List" <[EMAIL PROTECTED]>
Sent: Saturday, July 19, 2003 7:55 PM
Subject: Re: [expert] Connection sharing and 2 Nics ?


> this is a situation that the GUI builders didn't have resources to
> account for, so the GUI doesn't help you do it. However, it's perfectly
> do-able from the command line.
>
> It sounds like you've already got the card working, so I'll skip that
> part.
>
> Then go to /etc/sysconfig/network-scripts and setup scripts for eth2,
> copying eth1's for guidance.
>
> Then edit /etc/dhcpd.conf and add the interface and range.
>
> Then edit the files in /etc/shorewall/ and make sure the new subnet can
> route xbox's traffic out.
>
> On Sat, 2003-07-19 at 11:20, Jim C wrote:
> > Help me out here guys. It seems to me that f you are running multiple
> > cards from the dhcp server then the system will expect to treat each as
> > a different subnet without running them all through a switch.
> >
> > Hmmm... might it not also be possible that out there somewhere is an
> > adapter that will plug ethernet into coax and/or vice versa?
> > Out here in the Spokane area we have a store called "Bundles and More"
> > that does nothing but computer connectors and cables.  If I were looking
> > for such an animal that is where I would start the hunt.
> >
> > >Hiya,
> > >
> > >I have Internet connection sharing set up for my windows PC's and have
recently brought Xbox live, now if i use a dediacated cat5 lead to the
mandrake box it works fine (after editing shorewall rules to allow ports)
however as I am cheap and have had the same network in place for years my
home PC network is coax and therefore I cant use this with my Xbox.
> > >
> > >So i thought it would be easier and cheaper to just add another nic to
the linux server and use hat to server for Xbox live.
> > >
> > >now my question is, when i set up internet connections sharing in
mandrake it only allows me to select one nic for usevia (i presume) the dhcp
server, and I need both (or a workaround as i can manually set ip's on the
xbox) to get this to work,
> > >
> > >Any help would be apreciated, i changed from a 2k server to this a few
months ago and have been happy so far, I would know how to do this in 2k
server, but in linux I am stuck, so if anyone can tell me how to get the
second nic to work with internet connection sharing (or even better the dhcp
server to work also with it) I would be in debt to you.
> > >
> > >
> >
> >
> >
> >
> >
> > ______________________________________________________________________
> >
> > Want to buy your Pack or Services from MandrakeSoft?
> > Go to http://www.mandrakestore.com
> -- 
> Jack Coates
> Monkeynoodle: A Scientific Venture...
>
>
>


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


> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to