Community discussions

MikroTik App
 
alphalt
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Sat Aug 01, 2009 1:53 pm
Location: Denmark

How to keep IP address iof virtual interface persistent

Sun Jan 29, 2012 4:21 pm

Hi,

When I create Metarouter and add dynamic interfaces I want to add IP address to vif1. I can do it with no problem, but when I reboot Metarouter assigned IP address shows that it is assigned to unknown interface even if after restart of Metarouter I have interface with the same name as before (vif1). Is there any chance to make this IP persistent ? I know, its possible to set IP for bridge and assing vif1 to bridge, but is there a possibility to use the same IP without using bridge ?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: How to keep IP address iof virtual interface persistent

Mon Jan 30, 2012 9:15 am

add static interface under /interface virtual-ethernet

and then add it similar to the dynamic interface, just specify that you want new interface to be static and assign static vif created before.

Now on every reboot interface will have the interface up with same mac addresses.

or set up dynamic interface and specify what mac addresses you want for interface to use (both MAC addresses, host and VM)
 
alphalt
Member Candidate
Member Candidate
Topic Author
Posts: 100
Joined: Sat Aug 01, 2009 1:53 pm
Location: Denmark

Re: How to keep IP address iof virtual interface persistent

Mon Jan 30, 2012 9:22 am

Very good, thanks for the info.

Who is online

Users browsing this forum: sch and 12 guests