Thanks for the reply. I managed to set it up on each PC and want to learn how to do it another way. Is it possible to set each PC to "obtain IP automatically" and still get an IP from the router? I've been reading about DHCP but is clueless when it comes to setting things up....
Hi,
Yes you can do that.
Lets assume you have been given 1.1.1.0/29 (just change the IPs to the real ones)
This means you have .1 - .6 to use for hosts.
We need to give an IP to the router itself, lets use .1
ip address add address=1.1.1.1/29 interface=bridge-local comment="Router IP"
Obviously change the IP and interface details to match your router.
Next we need to setup the DHCP server on the router, easiest way is to use the setup wizard:
ip dhcp-server setup
Select interface to run DHCP server on
dhcp server interface: bridge-local
Select network for DHCP addresses
dhcp address space: 1.1.1.0/29
Select gateway for given network
gateway for dhcp network: 1.1.1.1
Select pool of ip addresses given out by DHCP server
addresses to give out: 1.1.1.2-1.1.1.6
Select DNS servers
dns servers: 8.8.8.8
Select lease time
lease time: 10m
Again change the details as needed
Bingo you now have a DHCP server that will distribute your public IPs.
edited to correct the typos and poor grammar