Re: network ip config question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 18, 2007 at 13:18:22 +0100,
  michiel <m.karsch@xxxxxxxxx> wrote:
> local network:
> eth0      Link encap:Ethernet  HWaddr 00:0E:2E:54:9B:D6
>           inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
> 
> adsl modem conn:
> eth1      Link encap:Ethernet  HWaddr 00:02:44:27:BC:7E
>           inet addr:213.10.28.64  Bcast:213.10.28.64  Mask:255.255.255.255
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use 
> Iface
> 10.0.0.138      213.10.28.64    255.255.255.255 UGH   0      0        0 eth1
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 0.0.0.0         10.0.0.138      0.0.0.0         UG    0      0        0 eth1

Using the ip command you can set up something simpler by hand.
ip addr add dev eth1 213.10.28.64 peer 10.0.0.138/32
Keep your default route as before. Packets going out eth1 will get
213.10.28.64 as their source address by default.

Unfortunately Fedora's network config stuff doesn't let you do this.
Also, I don't know how easy it is to do this when the address you need comes
via dhcp.

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux