Register and logon to remove this advert
7th April 2011, 05:20 PM
|
#1
|
|
Striker
|
Network gurus - basic question
I'm having an utter mental blank here - can someone put me out of my misery??
I know a single NIC/port can have multiple IPs assigned to it, but can they be on different subnets?
Say you've got a switch with three hosts attached, configured like this ([..]= a NIC), where Host A is also the gateway to the internet.
+---[192.168.1.1/24, 192.168.2.1/24] - Host A - [WAN IP] <----> internet
+---[192.168.1.2/24] - Host B
+---[192.168.2.2/24] - Host C
Am I right in thinking that B and C be will able to communicate with A and the internet, but not with each other (unless A is configured to route between them)?
In other news, I've also started to dribble and forget my name.
|
|
|
7th April 2011, 05:24 PM
|
#2
|
|
Striker
|
Re: Network gurus - basic question
Modern washing machines usually only have a cold inlet hose.
If that helps?
__________________
Stevie freestein esq.
|
|
|
7th April 2011, 05:35 PM
|
#3
|
|
Striker
Join Date: May 2009
Location: Norge
|
Re: Network gurus - basic question
Yes.
|
|
|
7th April 2011, 05:52 PM
|
#4
|
|
Winger
Join Date: Sep 2008
Location: 3rd stone from the sun
|
Re: Network gurus - basic question
I think the router would need sub-interfaces configured on it to allow cross VLAN? communication, so yes - but I'm no guru* !!
*because I didn't know you could assign 2 IP addresses to one NIC
__________________
Sessegnon 27, Johnson 74, Vaughan 82
|
|
|
7th April 2011, 05:58 PM
|
#5
|
|
Striker
|
Re: Network gurus - basic question
Quote:
Originally Posted by TiredEyes
I think the router would need sub-interfaces configured on it to allow cross VLAN? communication, so yes - but I'm no guru* !!
*because I didn't know you could assign 2 IP addresses to one NIC
|
Nee VLANs here, just regular LAN.
It's quite common to have multiple IPs on a single NIC. For example you might have one physical server on your intranet, that serves multiple internal web sites. You can do that by making it look like it's at several IP addresses on the same subnet, one for each web site (news.server.local, porn.server.local, etc). Though of course that's not the only way - you could use one IP but different page names, ports, etc.
Quote:
Originally Posted by Hauser's-Helmet
Yes.
|
Is that an authoritative yes, a talking shite yes, or an authoritative but talking shite yes?
|
|
|
25th April 2011, 06:27 AM
|
#6
|
|
Striker
|
Re: Network gurus - basic question
  
Turned out it was possible. You can have any number of subnets on one physical segment that you like, as long as you assign the router's connection (to that segment) an IP in each of them, to be the default gateway for each. The router will route between them just like it would if they were on different physical segments.
When the router is a WS2008 box, that's not a problem, you just used the "Advanced" button on the TCP/IP options dialog box, and hoy the IPs in there.
If you're using its DHCP server, you also have to create a scope for each of the subnets as normal, but you then have to put them inside a superscope for the segment.
You learns summat every day on the SMB!
|
|
|
25th April 2011, 10:31 AM
|
#7
|
|
Striker
|
Re: Network gurus - basic question
Yeah, I do this all the time in network courses where they don't have a dedicated router. Windows Server from NT onwards has had the ability to act as an IP router.
__________________
Never argue with idiots, they drag you down to their level then beat you with experience!
|
|
|
25th April 2011, 10:51 AM
|
#8
|
|
Striker
|
Re: Network gurus - basic question
Quote:
Originally Posted by Flared Hicks
Yeah, I do this all the time in network courses where they don't have a dedicated router. Windows Server from NT onwards has had the ability to act as an IP router.
|
All versions of Windows can, even clients since 2000. The point here was having multiple subnets on a single segment though, and I couldn't get a straight answer anywhere about it! So I just tried it and for once it worked.
I probably should have used VLANs, but that sounds like a bigger can of worms.
|
|
|
25th April 2011, 10:58 AM
|
#9
|
|
Striker
|
Re: Network gurus - basic question
Quote:
Originally Posted by Hetzkes Ballet Teacher
All versions of Windows can, even clients since 2000. The point here was having multiple subnets on a single segment though, and I couldn't get a straight answer anywhere about it! So I just tried it and for once it worked.
I probably should have used VLANs, but that sounds like a bigger can of worms.
|
wrong.
|
|
|
25th April 2011, 11:01 AM
|
#10
|
|
Striker
|
Re: Network gurus - basic question
Quote:
Originally Posted by Hetzkes Ballet Teacher
All versions of Windows can, even clients since 2000. The point here was having multiple subnets on a single segment though, and I couldn't get a straight answer anywhere about it! So I just tried it and for once it worked.
I probably should have used VLANs, but that sounds like a bigger can of worms.
|
yeah what I should have said is that I often run 2 subnets off a single NIC and route between them. Handy when you're running a network analyzer as they can see all the packets when trying to see why some are ignored whilst others picked up when reading either MAC or IP headers.
__________________
Never argue with idiots, they drag you down to their level then beat you with experience!
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 11:04 AM.
|