We have two switch s1 and s2, and one router r1.
s1 connect to r1 and s2 connected to s1.
two pc on two different vlan connected to s2.
We know that for ping between the two pc , we have to do the trunking.
It is necessary to give the ip default gateway on the s2. But the router has an ip address on the sub-interface, so the default ip should in which subnet.
The ip on subinterface and of different netmask.
How we decide what the ip address to give on the s2.