[COMP] Re: networking protocol question
- From: "Mark Symonds" <mark@xxxxxxxxxxx>
- To: <computers@xxxxxxxxxxxxx>
- Date: Mon, 28 May 2001 12:05:54 -0700
----- Original Message -----
From: "David Bruce Jr" <dbartbruce@xxxxxxxx>
To: <computers@xxxxxxxxxxxxx>
Sent: Monday, May 28, 2001 8:02 AM
Subject: [COMP] Re: networking protocol question
>
> how do I set up sharing with ip addresses on the win boxes?
>
If you mean windows file sharing it should work without
any trouble once you remove netbeui. What you should be
able to do is from control panel bring up networking and
then look at the TCP properties for the nic and click
the netbios tab there. You should see a greyed out checkbox
there that says "I want to enable netbios over tcp/ip",
make sure that is checked.
When it is, then you will have netbios packets encapsulated
in tcp/ip and this is what samba does as well on your redhat
box.
Wait, it gets better ... samba can do NT authentications
just like an NT domain controller, too, if you want that
later for added security.
> can I use the ip addys assigned by the router?
>
> umm, <thinking aloud here...>
>
If your hosts are setup to use dhcp, yes. Keep in
mind that your redhat box can be a router as well
although it is suggested you do some firewalling/kill
unnecessary services etc. before opening it up to
the internet.
> perhaps I should tell the router about the intranet being a
> static ip?
>
> or can I make the 9x boxes have a static ip...what will that do
> to
> the router assigning ip addresses...
>
No idea, not sure which router you have. It probably will
still work if the router is configured to NAT 192.168.*.*
and will hand out arbitrary IP's within that space if you
happen to be running dhcp on the internal hosts.
> umm, how do you tell the nic it is gonna have 2 ip addresses?
>
With windows it's a pain, afaik it can be done but you
have to hack the registry. In linux it's very easy to
do at the commandline if you have IP aliasing support
compiled. In linux you use the ifconfig command to
bring up a nic, like this:
ifconfig eth0 192.168.1.5 netmask 255.255.255.0
then to put another IP on that device:
ifconfig eth0:1 10.10.10.2 netmask 255.0.0.0
... it will now accept packets for both addresses.
Be a bit careful when doing this, though, think of
it like a tunnel with only one lane and cars needing
to get through going both directions. So you have
a guy at each end of the tunnel with a flashlight,
signalling to the other end when the oncoming car has
made it through and one is going to start coming the
other way. It can work, but you can also have alot
of collisions.
Usually it works well though.
> If I make the nic have a static ip will the router still assign
> it's
> 192.168.xx.xx and still be connected to the internet?
>
If the if the IP is statically assigned then you aren't
running a dhcp client on the machine in question. Since
it will never ask the router for an IP then the router will
never attempt to assign it one.
--
Mark
========================================
Avenir Web's Computers Mailing List
List Modes, Subscription, and General Info:
Go to http://www.freelists.org/cgi-bin/webpage?webpage_id=11
List Archives: http://www.freelists.org/archives/computers
Administrative Contact: weez@xxxxxxxxxxxxx
Get computer help: http://avenir.dhs.org
========================================
- References:
- [COMP] networking protocol question
- From: David Bruce Jr
- [COMP] Re: networking protocol question
- From: Nils Vogels
- [COMP] Re: networking protocol question
- From: David Bruce Jr
- [COMP] Re: networking protocol question
- From: Nils Vogels
- [COMP] Re: networking protocol question
- From: David Bruce Jr
Other related posts:
- » [COMP] networking protocol question
- » [COMP] Re: networking protocol question
- » [COMP] Re: networking protocol question
- » [COMP] Re: networking protocol question
- » [COMP] Re: networking protocol question
- » [COMP] Re: networking protocol question
- » [COMP] Re: networking protocol question
- [COMP] networking protocol question
- From: David Bruce Jr
- [COMP] Re: networking protocol question
- From: Nils Vogels
- [COMP] Re: networking protocol question
- From: David Bruce Jr
- [COMP] Re: networking protocol question
- From: Nils Vogels
- [COMP] Re: networking protocol question
- From: David Bruce Jr