cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
549
Views
0
Helpful
3
Replies

SG300-10MPP help

dsbsoares
Level 1
Level 1

Hi Guys,

I've configured the switch mentioned above with two networks in order to share the internet connection coming from a Windows 2012 R2 server, however, I'm facing a few issues. The networks are as follow: A - 192.168.1.0/24 and B - 192.168.2.0/24.

The server has two NICS, one for each network. Both adapters are connected into another two switches, not manageable though, and those switches connect to the Cisco one. Within the server I've set up two DHCP scopes, one for each network.

I have configured the Cisco switch as follow: VLAN 10 uses ports 1 to 3, VLAN 20 uses ports 5 to 7. All ports configured in Access Mode and Spanning-Tree portfast mode. VLAN 10 has the address of 192.168.1.2 and VLAN 20 has got 192.168.2.2. The ISP modem/router is 192.168.1.1 and it's directly connected to the port 1 (VLAN10). The default gateway for the switch is 192.168.1.1.

The ip-addresses for the server are NIC1: 192.168.1.10 and NIC2: 192.168.2.10.

The DHCP lease works for both networks, however, all machines from Network B cannot access the internet. They ping any internal IP address, the ISP router as well as both server NICs's.

The workstations from the Network A cannot ping the ones from Network B, although I can ping the VLAN 20 gateway 192.168.2.2, which is weird no??? Internet works fine.

So my questions are: Did I miss any setting? Is the server getting confused between the two NICs? NIC A uses the gateway 192.168.1.1 and I tried setting up the gateway for NIC2 with either 192.168.1.1 or 192.168.2.2 and didn't work. Should I change the default gateway for NIC A to 192.168.1.2 instead???

I'm sorry about so many questions. I appreciate your thoughts and hope anyone could shed some light.

Thank you.

Daniel

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hi Mark,

Yes I did:

Switch1#show running-config
config-file-header
Switch1
v1.4.1.3 / R800_NIK_1_4_194_194
CLI v1.0
set system mode router

file SSD indicator encrypted

dsbsoares
Level 1
Level 1

Hi Guys,

I figured out some of my mistakes. I haven't set the VLAN 10 up as the default one, that's the why the routing wasn't working. And I also removed the NIC2 from the scenario, so the switch is acting now as DHCP relay (a few commands were issued to enable that) and it's all good.

However, the internet access from network B still doesn't work. I can ping any IP address though.

From inside the switch when I perform the traceroute from interface VLAN 10 to any Internet IP address it works fine, but when I do from interface VLAN 20 it doesn't complete:
 

traceroute ip 8.8.8.8 source 192.168.2.2

Tracing the route to 8.8.8.8 (8.8.8.8), 30 hops max, 18 byte packets

Type Esc to abort.

1   *  *  *

2   *  *  *

3   *  *  *

4   *  *  *

5   *  *  *

6   *

Trace aborted.

 

Does anyone have a clue?