Re: [newbie] connection sharing using static ip

2003-02-13 Thread fifner the dragon
Before I start blocking the 2000 I want to start sharing the connection using static 
ip. 
When I run the wizard it automaticly configures the sharing to use dhcp. This makes 
the old static ip disappear. When I use dhcp on the win machine I can connect to the 
internet, but I can no longer ping the old ip of the linux machine. 

Can you have some machines connect using dhcp and some machines connecting using 
static ip to the same linux-box through the same nic?

Thanks,
Fifner

- Original Message -
From: Adolfo Bello [EMAIL PROTECTED]
Date: 12 Feb 2003 21:45:42 -0400
To: MDK Mandrake [EMAIL PROTECTED]
Subject: Re: [newbie] connection sharing using static ip

 On Wed, 2003-02-12 at 21:31, Adolfo Bello wrote:

 Why don't you leave Win98 to get its settings using DHCP? Do you have
 any reason to force this to have a predefined IP?
 
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



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



Re: [newbie] connection sharing using static ip

2003-02-13 Thread Anne Wilson
On Thursday 13 Feb 2003 1:31 am, Adolfo Bello wrote:
 On Wed, 2003-02-12 at 04:15, fifner the dragon wrote:
  You understood perfectly.
 
  I do not want to use DHCP to connect my LAN to the server.
 
  Thanks,
  Fifner

 Just let undefined the gateway in the W2K TCP/IP setup.

 (And set a policy so just the Administrator can change the TCP/IP
 settings).

Wouldn't this be better all on one subnet?  Surely then the lan will behave 
properly, but without a gateway the W2K machine won't be able to get out?  Or 
is this because I'm thinking router, and sharing a dial-up would be 
different?

Anne
-- 
Registered Linux User No.293302



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



Re: [newbie] connection sharing using static ip

2003-02-13 Thread Anne Wilson
On Thursday 13 Feb 2003 9:09 am, fifner the dragon wrote:
 Before I start blocking the 2000 I want to start sharing the connection
 using static ip. When I run the wizard it automaticly configures the
 sharing to use dhcp. This makes the old static ip disappear. When I use
 dhcp on the win machine I can connect to the internet, but I can no longer
 ping the old ip of the linux machine.

 Can you have some machines connect using dhcp and some machines connecting
 using static ip to the same linux-box through the same nic?

Don't see why not

Anne
-- 
Registered Linux User No.293302



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



RE: [newbie] connection sharing using static ip

2003-02-13 Thread Franki
yes you can...

My suggestion to you, is to use google to find the home page of gShield

download the latest compressed version..

untar it into /etc and call the directory firewall.

and read the file gshield.conf

its all in english.. its all easy and they give you the possible answers so
you can just choose one..

Then just run it... /etc/firewall/gShield.rc

Thats it, you firewall and connection sharing using static IP. (or dhcp if
that is your choise) is done...

It does a ton of other stuff too.. but you don't need to know about that if
you are not interested...


rgds

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Anne Wilson
Sent: Thursday, 13 February 2003 5:57 PM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] connection sharing using static ip


On Thursday 13 Feb 2003 9:09 am, fifner the dragon wrote:
 Before I start blocking the 2000 I want to start sharing the connection
 using static ip. When I run the wizard it automaticly configures the
 sharing to use dhcp. This makes the old static ip disappear. When I use
 dhcp on the win machine I can connect to the internet, but I can no longer
 ping the old ip of the linux machine.

 Can you have some machines connect using dhcp and some machines connecting
 using static ip to the same linux-box through the same nic?

Don't see why not

Anne
--
Registered Linux User No.293302





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



Re: [newbie] connection sharing using static ip

2003-02-13 Thread Adolfo Bello
On Thu, 2003-02-13 at 05:09, fifner the dragon wrote:
 Before I start blocking the 2000 I want to start sharing the connection using static 
ip. 
 When I run the wizard it automaticly configures the sharing to use dhcp. This makes 
the old static ip disappear. When I use dhcp on the win machine I can connect to the 
internet, but I can no longer ping the old ip of the linux machine. 
 
 Can you have some machines connect using dhcp and some machines connecting using 
static ip to the same linux-box through the same nic?
 
 Thanks,
 Fifner
There are two restrictions:
1.- You can't use in the static box an IP that DHCP has already
assigned.

2.- Don't use in the static box an IP that DHCP assigns based on MAC
address.

Anyway, they don't apply to you because you are dual booting Win98 and
W2K.
-- 
__   
   / \\   @   __ __@   Adolfo Bello [EMAIL PROTECTED]
  /  //  // /\   / \\   // \  //   Bello Ingenieria S.A, ICQ: 65910258
 /  \\  // / \\ /  //  //  / //cel: +58 416 609-6213
/___// // / _/ \__\\ //__/ // fax: +58 212 952-6797
www.bisapi.com   //pager: www.tun-tun.com (# 609-6213)



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



Re: [newbie] connection sharing using static ip

2003-02-13 Thread Anne Wilson
On Thursday 13 Feb 2003 11:46 am, Adolfo Bello wrote:
 On Thu, 2003-02-13 at 05:46, Anne Wilson wrote:
  On Thursday 13 Feb 2003 1:31 am, Adolfo Bello wrote:
   On Wed, 2003-02-12 at 04:15, fifner the dragon wrote:
You understood perfectly.
   
I do not want to use DHCP to connect my LAN to the server.
   
Thanks,
Fifner
  
   Just let undefined the gateway in the W2K TCP/IP setup.
  
   (And set a policy so just the Administrator can change the TCP/IP
   settings).
 
  Wouldn't this be better all on one subnet? Surely then the lan will
  behave properly, but without a gateway the W2K machine won't be able to
  get out?  Or is this because I'm thinking router, and sharing a dial-up
  would be different?
 
  Anne

 Hi Anne:

 Exactly what this fellow wants: denying W2K to get out. Of course, for
 W2k to see the router box they have to be in the same subnet.

 I don't see any difference when sharing a dial-up connection but that
 kernel routing tables in the router machine are set automatically when
 the dial-up connection is started and last until dial-up connection is
 closed.

 Is this what you were asking?

Yes - it seemed to me that he (or someone in the thread) was talking of 
putting the W2K machine on another subnet.  Couldn't see the point of that, 
since it would not reach the lan at all.

Anne
-- 
Registered Linux User No.293302



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



Re: [newbie] connection sharing using static ip

2003-02-13 Thread Jerry Barton
On Thu, 13 Feb 2003 17:43:09 +
Anne Wilson [EMAIL PROTECTED] wrote:

 On Thursday 13 Feb 2003 11:46 am, Adolfo Bello wrote:
  On Thu, 2003-02-13 at 05:46, Anne Wilson wrote:
   On Thursday 13 Feb 2003 1:31 am, Adolfo Bello wrote:
On Wed, 2003-02-12 at 04:15, fifner the dragon wrote:
 You understood perfectly.

 I do not want to use DHCP to connect my LAN to the server.

 Thanks,
 Fifner
   
Just let undefined the gateway in the W2K TCP/IP setup.
   
(And set a policy so just the Administrator can change the TCP/IP
settings).
  
   Wouldn't this be better all on one subnet? Surely then the lan will
   behave properly, but without a gateway the W2K machine won't be able to
   get out?  Or is this because I'm thinking router, and sharing a dial-up
   would be different?
  
   Anne
 
  Hi Anne:
 
  Exactly what this fellow wants: denying W2K to get out. Of course, for
  W2k to see the router box they have to be in the same subnet.
 
  I don't see any difference when sharing a dial-up connection but that
  kernel routing tables in the router machine are set automatically when
  the dial-up connection is started and last until dial-up connection is
  closed.
 
  Is this what you were asking?
 
 Yes - it seemed to me that he (or someone in the thread) was talking of 
 putting the W2K machine on another subnet.  Couldn't see the point of that, 
 since it would not reach the lan at all.
 
 Anne
 -- 
 Registered Linux User No.293302
 
 
 
I think that was me.  My suggestion was to have the linux box set as a class B network 
instead of a C (so that the linbox would accept connections from 192.168.*.* instead 
of just 192.168.0.* for example) and have the connection sharing allowed to 
192.168.0.* range of IP's in the subnet and not 192.168.1.*  (and the rest of the ip 
range of the network), put the win98 on 192.168.0.* and put the win2k on 192.168.1.*.  
then on both put the gateway as 192.168.0.1 (the linbox lan interface's ip) so that 
they could both connect to it, just that the win2k boot would be out of the ip range 
of the connection sharing. It was just an idea and i was wondering if it would work if 
setup that way.  so it isn't really on a different subnet that the linbox can't see, 
since the linbox's subnet mask would be 255.255.0.0. but i wasn't sure if i was right. 
 I'm fairly new to networking so i was probably wrong.  Had I more than 2 machined I'd 
have tested it first before suggesting it however I only have 2 so i threw it out to 
the list and said maybe... get feedback on it.

jerry
-- 
-- 
Registered Linux user # 300600
Registered Linux machine # 185855
at http://counter.li.org
(¬_
//\
V_/_


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



Re: [newbie] connection sharing using static ip

2003-02-12 Thread Jerry Barton
On Tue, 11 Feb 2003 12:19:49 -0500
fifner the dragon [EMAIL PROTECTED] wrote:

 Hi,
 
 I just configured my connection sharing using drakgw in the mandrake control center. 
When it finished I got the message you may now share internet connection with other 
computers on your Local Area Network, using atomatic network configuration (DHCP). 
 
 Hoow do I set it up to have the internet connection use the static ip numbers from 
the other machine? I have only one computer as a network client and it has a dual 
boot. Win 98 should be allowed to use the internet, but win2000 should not.
 
 Thanks in advance,
 Fifner
 -- 
 __
 Sign-up for your own FREE Personalized E-mail at Mail.com
 http://www.mail.com/?sr=signup
 
 
 
My thoughts on this... 
setup you LAN like a class b network (subnet mask 255.255.0.0)
make the win98 static ip one that is allowed to use connection sharing 
(in my case the allowed ip's are 192.162.0.2 thru 192.168.0.254 so i'd use 192.168.0.2 
for example)
set the gateway as your lan interface ip on the mdk box (in my case eth1 is the card 
going to the lan at ip 192.168.0.1 so that would be the gateway)

make the win2k static ip one that is not in that range allowed to share the connection 
but still in the subnet
(such as 192.168.1.2 ... or 192.168.100.1... etc) and use the same gateway address

Now if my understanding is correct this should still allow win2k to access the 
mandrake box but not the internet, though i'm not 100% sure that you woulnd't need to 
do something with your routing table.  perhaps someone else on the list would be able 
to clarify this or even blow me right out of the water LOL.

(hint hint... i want to know if i'm right, ladies and gentlemen HEHEHEHE)

You'll probably want to wait for some feedback before taking my word for it but 
throwing out my ideas because... well because i can. ;)

Jerry.


-- 
-- 
Registered Linux user # 300600
Registered Linux machine # 185855
at http://counter.li.org
(¬_
//\
V_/_


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



Re: [newbie] connection sharing using static ip

2003-02-12 Thread Adolfo Bello
On Wed, 2003-02-12 at 21:31, Adolfo Bello wrote:
 On Wed, 2003-02-12 at 04:15, fifner the dragon wrote:
  You understood perfectly. 
  
  I do not want to use DHCP to connect my LAN to the server.
  
  Thanks,
  Fifner
 
 Just let undefined the gateway in the W2K TCP/IP setup.
 
 (And set a policy so just the Administrator can change the TCP/IP
 settings).

Sorry, I forgot about the Win98 setup.

Why don't you leave Win98 to get its settings using DHCP? Do you have
any reason to force this to have a predefined IP?

I would take note of settings given by DHCP and set something alike
using a static setup.

Good luck.
-- 
__   
   / \\   @   __ __@   Adolfo Bello [EMAIL PROTECTED]
  /  //  // /\   / \\   // \  //   Bello Ingenieria S.A, ICQ: 65910258
 /  \\  // / \\ /  //  //  / //cel: +58 416 609-6213
/___// // / _/ \__\\ //__/ // fax: +58 212 952-6797
www.bisapi.com   //pager: www.tun-tun.com (# 609-6213)



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



Re: [newbie] connection sharing using static ip

2003-02-12 Thread Chuck Burns
On Wednesday 12 February 2003 7:31 pm, Adolfo Bello wrote:
*snip*
 Without having a default gateway a host can only contact other host in
 its own subnet.

 So leaving the W2K system without default gateway, W2K will be jailed to
 the subnet it belongs to.

This is the same suggestion I was about to make.Use DHCP to assign the 
machines an IP address, but force the win2k bootup to be a manually set IP, 
something like 192.168.1.254 with the default gateway left blank Then, as 
Adolfo states, the win2k machine won't know how to get outside it's current 
subnet, and since the other machines will be assigned IPs AND default 
gateways via the router (read: box with 2 nics or real router) they WILL be 
able to get out of the subnet and onto the internet.

--
Chuck Burns [EMAIL PROTECTED]


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



[newbie] connection sharing using static ip

2003-02-11 Thread fifner the dragon
Hi,

I just configured my connection sharing using drakgw in the mandrake control center. 
When it finished I got the message you may now share internet connection with other 
computers on your Local Area Network, using atomatic network configuration (DHCP). 

Hoow do I set it up to have the internet connection use the static ip numbers from the 
other machine? I have only one computer as a network client and it has a dual boot. 
Win 98 should be allowed to use the internet, but win2000 should not.

Thanks in advance,
Fifner
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



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



Re: [newbie] connection sharing using static ip

2003-02-11 Thread Adolfo Bello
On Tue, 2003-02-11 at 13:19, fifner the dragon wrote:
 Hi,
 
 I just configured my connection sharing using drakgw in the mandrake control center. 
When it finished I got the message you may now share internet connection with other 
computers on your Local Area Network, using atomatic network configuration (DHCP). 
 
 Hoow do I set it up to have the internet connection use the static ip numbers from 
the other machine? I have only one computer as a network client and it has a dual 
boot. Win 98 should be allowed to use the internet, but win2000 should not.
 
 Thanks in advance,
 Fifner
Let's see if I understood:
1.- Your Linux machine is going to be the gateway to the Internet (2
NICs: one for Internet and the other for the LAN).

2.- A second machine connected to (1) can boot either Win98 or W2K.

3.- When booting Win98 it will be allowed access to the Internet.

4.- When booting W2K, access to the Internet will be denied.

5.- Win98 and W2K will have their IP addresses statically set.

-- 
__   
   / \\   @   __ __@   Adolfo Bello [EMAIL PROTECTED]
  /  //  // /\   / \\   // \  //   Bello Ingenieria S.A, ICQ: 65910258
 /  \\  // / \\ /  //  //  / //cel: +58 416 609-6213
/___// // / _/ \__\\ //__/ // fax: +58 212 952-6797
www.bisapi.com   //pager: www.tun-tun.com (# 609-6213)



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