- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-21-2024 03:26 AM
Greetings,
i have some doubts in configuring sub interface. i have eth1/1 (physical interface)ip-10.0.2.1 now for some testing i want to configure a sub interface for eth1/1 with same subnet like 10.0.2.2 and without vlan tag.
will this work ???
can i have same network on both physical and sub interfaces ??
what should i be aware of????
03-22-2024 08:22 AM
Hello @pyrainath, I would like to highlight two important considerations regarding this scenario:
Regards
03-22-2024 08:22 AM
Hello @pyrainath, I would like to highlight two important considerations regarding this scenario:
Regards
03-22-2024 10:33 PM
greetings,
Thank you so much for the information.....
03-23-2024 12:40 AM
hello Jpomachagua,
The thing is we are borrowing bandwidth from another dept in my company .so they have a firewall. they give us some private ips and we configured that ip on one interface for example 10.x.x.1/29 and they map this ip with a public ip for our vpn connection. they have already mapped another public ip with 10.x.x.2/28 and this private ip is not yet configured on our firewall. now we have a requirement to host a webserver so we were hopping that we could dnat through 10.x.x.2/28. in order to do that we need to configure that ip on our firewall thats why we hope sub interface will do that job.
1.can you give any other suggestion to make this work. ?
2.what will actually happen if we configure two IPs from the same subnet on different interfaces or sub interfaces?
03-26-2024 02:33 PM
Hello Pyrainath
An option is to set up two IPs on the same interface. The first IP, for instance, could be 10.10.10.1/29, and the second IP could be 10.10.10.2/32. This approach allows you to manage two IPs without the need to create a subinterface.
Regards
03-26-2024 11:55 PM
Thanks again Jpomachagua,
so i have already configured the ip 10.10.10.1/29 on the physical interface eth1/1. so like u said i hope to configure the ip 10.10.10.2/32 on a loopback interface, will this work in my situation?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!