cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

CISCO SWITCHES FOR SMALL and MEDIUM BUSINESS

Introducing the next generation of Cisco Small and Medium Business Switches. Cisco is refreshing its SMB Switch portfolio. Click here  to learn more.


646
Views
0
Helpful
4
Replies
mrsystemengineer
Beginner

sf300

I have some issue from last 2 month on sf300.

The problem is that sf300 does not support complete dhcp, for that i put different internet modem.

I connected one internet modem in vlan 1 so users from that vlan can access internet and default gateway is nothing but Internet modem ip.  user in the vlan are not communicate with other vlan because, other vlan users default gateway is Interface ip address.  How i can give access to vlan 1 to access other vlan .

See the attached.

I have to used static route  in all 3 devices or any one.

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
Tom Watts
Advisor

Hi Mr, the switch cannot perform NAT functions, therefore only the vlan connecting to the modem can work this way. The default gateway of the connecting hosts should be that of the switch SVI while operating in layer 3 mode. The modem would require static routes (not the switch) if you want those vlans to have internet connectivity and intervlan communication.

-Tom
Please mark answered for helpful posts

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

View solution in original post

4 REPLIES 4
Tom Watts
Advisor

Hi Mr, the switch cannot perform NAT functions, therefore only the vlan connecting to the modem can work this way. The default gateway of the connecting hosts should be that of the switch SVI while operating in layer 3 mode. The modem would require static routes (not the switch) if you want those vlans to have internet connectivity and intervlan communication.

-Tom
Please mark answered for helpful posts

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/

how i can make static nat in modem.

ex:     Sw1 have 5 vlan ,  10.1.1.250/24 10.1.2.250/24 10.1.3.250/24 10.1.4.250/24

Modem connected to vlan 1 and act as dhcp=    10.1.1.1/24 ----->   user getting ip address 10.1.1.2/24 default gateway 10.1.1.1

How i can make static route in modem.

10.1.1.0/24 wan interface of modem or any other way.

Hi tom thanks for your valuable reply.

       when i was try to one thing it give other problem.

See my below connectivity

Router1    ----192.168.6.251-------->    SW1SF300 -----192.168.6.253 -----(Vlan 6)------------------> SW2SF300  --- 10.1.6.254(Vlan 6 with Trunk on Gi4 to Sw1 Gi4--------->

SW1SF300=   Consist of vlan 5 vlan (192.168.x.0/24)

1.  Router act as dhcp server sometime ip address will getting to client and some time not.

2.  I connect internet modem in vlan 1 and this modem act as dhcp and internet to vlan 1 users, but vlan 1 users are not accesssible to all other vlans.

3.  How i can make static route and where i have to put static route to communicate vlan 1 to other vlan.

thanks

Hi Mr, to try to fix this, you can have the switch doing DHCP for you on the latest firmware.

On my switch I have vlan 1 and 2 vlan. I set up DHCP to service through my vlan 2.

My vlan 1 is 192.168.100.129

My vlan 2 is 192.168.2.254

config t

vlan database

vlan 2

int vlan 1

ipaddress 192.168.100.129 /24

int vlan 2

ip address 192.168.2.254 /24

ip dhcp server

ip dhcp pool network vlan 2

address low 192.168.2.10 high 192.168.2.50 255.255.255.0

lease infinite  <-- make the least time to not expire

default-router 192.168.2.254  <--- specifies the vlan 2 SVI as the gateway

dns-server 8.8.8.8 <-- I chose random DNS

You can set up dhcp pools for every vlan and have the switch assign the connecting clients the IP within the SVI they connect to. Then to make the modem work you will need a static route pointing back to the switch to be able to route the traffic.

If you need a visual effect for a router that doesn't support vlans please look at this topic-

https://supportforums.cisco.com/thread/2123434

-Tom
Please mark answered for helpful posts

-Tom Please mark answered for helpful posts http://blogs.cisco.com/smallbusiness/
Create
Recognize Your Peers
Polls
How would you describe your level of technical expertise?