My suggest is to search the forums and study the many posts on basic IP configuration using commands like
ifconfig ,
route and
netstat. There is also lots of good info in prior posts about how to set up your
/etc/rc.d files for making sure your hard work becomes a part of the boot process