adding 8 port switch to ethernet interface on 1812 router

May 29, 2006 4 Replies

Hi, I am really struggling with that type of router.



The router is to become an internet gateway router with 2 Ethernett interfaces. The ISP gave us 1.2.3.4/30 for one interface and 5.6.7.8/28 for the other one (IP addresses made up!).



I thought I could use the built-in 8 port switch to plug some devices on the



5.6.7.8/28 range but I cannot find a way to "assign" the switch to the Fastethernet1 interface.

What is the way to achieve this please!



Thanks


On 29.05.2006 07:14 Vincent wrote

interface FastEthernet0/0/0 switchport access vlan 100 duplex full speed 100 ! interface Vlan100 ip address 5.6.7.8 255.255.255.240 ip broadcast-address 5.6.7.15 !

Please pardon my ignorance, I am a newbie. do we decide to use ip broadcast-address 5.6.7.15 in the last line when given 5.6.7.8/28 ?

On 01.06.2006 20:43 someone wrote

actually

netmask -s 5.6.7.8/28 5.6.7.0/255.255.255.240

hence if you use 5.6.7.8 5.6.7.15 would be the right broadcast address

Arnold

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required