Options

Default Gateway Question

Roger_MooreRoger_Moore Registered Users Posts: 1 ■□□□□□□□□□
Hello,

I've a problem with my default gateway.

Situation: We've two switches, connected to one switch, which is connected to the router.
On the subnet we've two VLAN's with following details:
VLAN.jpg

Best practice is adding the first or last host address to the default gateway. But because of the VLAN's I've now two networks.
VLAN2.jpg

We currently solved it by adding an IP from a new network to Fa 0/0 that neither belongs the two VLAN's.

Comments

  • Options
    networker050184networker050184 Mod Posts: 11,962 Mod
    I'm not sure what your question is here.
    An expert is a man who has made all the mistakes which can be made.
  • Options
    EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
    The way this is supposed to be done, is to configure the router interface fa0/0 with 2 subinterfaces.
    Something like this:

    int fa0/0
    no shut
    int fa0/0.100
    encapsulation dot1q 100
    ip address 192.168.0.1
    int fa0/0.200
    encapsulation dot1q 200
    ip address 192.168.0.33

    Then you can assign the DG appropriately.
    Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
Sign In or Register to comment.