Jump to content

No routing on orangepi 5 - static IP


0xf1
Go to solution Solved by 0xf1,

Recommended Posts

when I switch to static IP, there is no a connection to default gateway. but when using DHCP everything works fine.

 

$ ip route
default via 192.168.88.1 dev end1 proto static metric 100 
169.254.0.0/16 dev end1 scope link metric 1000 
192.168.88.0/24 dev end1 proto kernel scope link src 192.168.88.32 metric 100 
  
$ ip a     
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: end1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 76:e2:40:53:b4:f6 brd ff:ff:ff:ff:ff:ff
    inet 192.168.88.32/24 brd 192.168.88.255 scope global noprefixroute end1
       valid_lft forever preferred_lft forever
      
$ ping 192.168.88.1 
PING 192.168.88.1 (192.168.88.1) 56(84) bytes of data.
^C
--- 192.168.88.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3032ms

 

Ping to another network address like 192.168.88.30 works fine.

Looks like  armbian-config does not save gateway and dns during configuration

 

what am I doing wrong?

Edited by 0xf1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines