Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Ads
Tom's Hardware > Forum > Networking > LAN/WAN > [Solved] Ip Addressing

[Solved] Ip Addressing

Forum Networking : LAN/WAN [Solved] Ip Addressing

Best answer from riser.

Word :    Username :           
 

Can I have an example of addressing a small LAN with 2 pc's, a switch and a server. Including the commands to address the switch addressing?

Reply to crappyid
Register or log in to remove.

No, we don't do homework here.

And don't double post!

Reply to Anonymous

It was an honest accident double posting. It is NOT my homework. I am having trouble understanding addressing a LAN. I have cisco packet tracer to set up my network and my hosts can't communicate. How am I to get help from this site if you make such an assumption. I don't intent this to be rude, but I speak the truth.
Thanks

Reply to crappyid

Sorry, but it still sounds like a homework question to me.

Reply to Anonymous

Provide an example of how your system is currently configured and we can help.

Reply to riser

Anonymous wrote :

Sorry, but it still sounds like a homework question to me.



I will keep that in mind. I can apprecitiate a watch dog.

Reply to crappyid

Why don't you provide an example as Riser requested?

Reply to Anonymous

riser wrote :

Provide an example of how your system is currently configured and we can help.

 

Ok, I have 2 pc's connected to a switch. PC1 Ip 10.1.1.10 /24 DG= 10.1.1.1 / PC 2 Ip 10.1.3.10 /24 DG = 10.1.3.1

 

When I try to configure the interfaces on the switch, I get this problem:

 

Switch(config)#int fa0/1
Switch(config-if)#ip address 10.1.1.1 255.255.255.0
^
% Invalid input detected at '^' marker.

 

And of course the same when trying to configure the switch for the pc2 interface as well.
I want to connect this to a server as well, but I can't get past this first to get the two pc's to communicate.


Message edited by crappyid on 09-13-2011 at 02:55:04 PM
Reply to crappyid

Why are you using the same subnet but different gateways?

Reply to riser

riser wrote :

Why are you using the same subnet but different gateways?



So if I use the same gateways I can address the swith without that error?

Reply to crappyid
Best answer

What exactly are you trying to accomplish here? You mentioned having 2 computers, a switch, and a server. Do you want each computer on their own VLan, subnet, or what?

Where are you gateways in all this? If you have 2 computers, a server, and a switch, you'd want something simple like:

PC1: 10.1.1.100
Subnet: 255.0.0.0

PC2: 10.1.1.101
Subnet: 255.0.0.0

Server: 10.1.1.10
Subnet: 255.0.0.0

Gateway: 10.1.1.1 (pointing to a router for internet access or something)

Reply to riser

If you are using a Cisco switch you need to use the command - 'no switchport' on the interfaces FA0/1 and the other interface for 10.1.3.1

You can't assign an IP to an interface when it's in switchport mode.

I am assuming you will have 2 network connections on the server? One for 10.1.1.1 and one for 10.1.3.1


Message edited by sturm on 09-13-2011 at 08:45:31 PM
Reply to sturm

Ye

riser wrote :

What exactly are you trying to accomplish here? You mentioned having 2 computers, a switch, and a server. Do you want each computer on their own VLan, subnet, or what?

Where are you gateways in all this? If you have 2 computers, a server, and a switch, you'd want something simple like:

PC1: 10.1.1.100
Subnet: 255.0.0.0

PC2: 10.1.1.101
Subnet: 255.0.0.0

Server: 10.1.1.10
Subnet: 255.0.0.0

Gateway: 10.1.1.1 (pointing to a router for internet access or something)


Thank you very much. This is what I was looking for.

Reply to crappyid
Register or log in to remove.
Tom's Hardware > Forum > Networking > LAN/WAN > [Solved] Ip Addressing
Go to:

There are 2000 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
  • Ask the community now
  • Publish
Ad
Ads
Latest best answer
My desktops internet. HELP
By Realbeast, 1 day ago:

Sure could be a virus or malware, you should use a good free antivirus and...

Best offers
They won a badge
Join us in greeting them
Top experts