Cannot Ping outside of LAN

  1. Why can I not ping the outside world from the EL1 port? EL1 port has the dhcp server and assigns ip's but no contact with the outside world.
  2. Also how will I group other ports to use the same DHCP server as EL1. My thought is to use a bridge and assign a DHCP server to the bridge?

Thanks,

450g Router

jan/02/1970 00:02:37 by RouterOS 6.0rc11

software id = LSPL-WZYF

/interface ethernet
set 0 name=EL1
set 4 name=g1
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/ip pool
add name=dhcp_pool1 ranges=192.168.10.100-192.168.10.150
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=EL1 lease-time=1d nam
/ip address
add address=192.168.10.1/24 interface=EL1 network=192.168.10.0
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no
interface=g1
/ip dhcp-server network
add address=192.168.10.0/24 dns-server=10.10.10.1 gateway=192.168.10.1
24
/ip dns
set allow-remote-requests=yes servers=192.168.1.1
/ip dns static
add address=192.168.10.1 name=EL1
/ip firewall connection tracking
set enabled=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=g1 !to-addresses !to-p

do you have default route in your routing table??? is your gateway to outside g1 interface?

How do I accomplish setting up the default route?

Yes g1 is my outside interface.

hi,

post your snap of

IP address & route

camera sound
screenshot.jpg

go to IP-Routes:

0.0.0.0/0
select your g1 interface to be gateway
g1.png

hi atwilley

you had assign LAN IP only interface ( g1)

where is WAN IP ?

attache snap of interfaces also

I made a mistake in my previous screen shot didn’t have g1 plugged in :laughing: … So now its plugged in and showing my correct config.
EL1 = unreachable. & Still cannot reach the outside world from EL1
screenshot.jpg

as snap what is your WNA IP ? g1 or EL1 i.e. i consider g1 is your WAN connectivty

now change your route according

0.0.0.0/0 to gateway=g1

now go to ip firewall add nat action=masquerade

then check

as snap what is your WNA IP ? g1 or EL1 i.e. i consider g1 is your WAN connectivty

now change your route according

Yes g1 is my wan

how would I accomplish this?

how would I accomplish this?
then check

Try the ping using g1 as the interface. I can’t ping WAN addresses using a LAN interface.