Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/TDA2EVM5777: Enabling static ip address on eth1

$
0
0

Part Number:TDA2EVM5777

Tool/software: Linux

Hi,


I have a static ip address for my target board. I want to use this ip address on eth1.

Below is my kernel command line :

console=ttyS0,115200n8 vram=16M root=PARTUUID=5f7cc9db-02 rw rootwait ip=10.31.18.17 mem=1024M

With this when the board boots it perform DHCP and RARP requests for two time then it fails.

Then I have modified /etc/network/interfaces as below

iface eth1 inet static
        address 10.31.18.17
        netmask 255.255.255.0
        gateway 10.31.18.1

and tried with ifup eth1.

Now I can see inet addr:10.31.18.17  Bcast:10.31.18.255  Mask:255.255.255.0 for eth1 with ifconfig.

But I am unable to ping to other hosts. Am I missing something? Please help.

Thanks.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>