Community discussions

MUM Europe 2020
 
hamil
just joined
Topic Author
Posts: 11
Joined: Fri Jun 08, 2007 7:21 pm

No IP address assigned to SwOS

Wed Jan 15, 2020 7:46 pm

I purchased a new CRS317-1G-16S+ and using winbox changed the OS over to SwOS. Now I can not access the CRS317 from a browser using http://192.168.88.2. I connected via console cable and see the following. How do I fix this?

SwOS v2.10p

mac address: {REMOVED}
ip address: 0.0.0.0
board: CRS317-1G-16S+
serial nr: {REMOVED}

Thanks
 
pe1chl
Forum Guru
Forum Guru
Posts: 6175
Joined: Mon Jun 08, 2015 12:09 pm

Re: No IP address assigned to SwOS

Wed Jan 15, 2020 8:11 pm

You would have to setup a DHCP server on the network where it will request an address, and then you can login on that address and change it to static when you want that.
 
hamil
just joined
Topic Author
Posts: 11
Joined: Fri Jun 08, 2007 7:21 pm

Re: No IP address assigned to SwOS

Wed Jan 15, 2020 10:35 pm

I have it connected to a network with a DHCP server and it is not picking up one. I went into the boot menu and did a netinstall. The CRS got an IP from the DHCP server without a problem. After the NetInstall I tried the SwOS again and still no IP address. Also it does not respond to the 192.168.88.1 address.
 
hamil
just joined
Topic Author
Posts: 11
Joined: Fri Jun 08, 2007 7:21 pm

Re: No IP address assigned to SwOS

Thu Jan 16, 2020 5:56 pm

I found the issue, the default configuration of the swos does not included the only ethernet port. Once I added it to the Allow From Ports all is good.
[admin@MikroTik] /system swos> pr
  address-acquisition-mode: dhcp-with-fallback
         static-ip-address: 192.168.88.1
                  identity: Mikrotik
                allow-from: 0.0.0.0/0
          allow-from-ports: p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,
                            p15,p16,p17,p18,p19,p20,p21,p22,p23,p24,p25,p26,
                            p27,p28,p29,p30,p31
           allow-from-vlan: 0
[admin@MikroTik] /system swos> set allow-from-ports=

AllowFromPorts ::= p1|p2|p3|p4|p5|p6|p7|p8|p9|p10|p11|p12|p13|p14|p15|p16|p17|p1
8|p19|p20|p21|p22|p23|p24|p25|p26|p27|p28|p29|p30|p31|p32[,AllowFromPorts*]


[admin@MikroTik] /system swos> set allow-from-ports=
I'll updated MikroTik support and hopefully they'll fix it in the next version.
 
pe1chl
Forum Guru
Forum Guru
Posts: 6175
Joined: Mon Jun 08, 2015 12:09 pm

Re: No IP address assigned to SwOS

Thu Jan 16, 2020 7:28 pm

That sure is a bit strange as the copper port (I assume that is the port you mean) is mainly intended for management... so probably a bug.

Who is online

Users browsing this forum: No registered users and 8 guests