[gPXE] Not able to access Internet with sanboot
Andy Chen
andychen_ca at hotmail.com
Wed Feb 17 15:16:19 EST 2010
Hi Stefan,
Thank you for the help.
My NetworkManager shows that the wired and wireless network "device not managed" after iscsi boot but is normal while not using iscsi boot.
that is why I think might be something wrong with iscsi boot.
Below is the information gathered after iscsi boot for your review:
[root at localhost Bell]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:D4:94:CD:F7
inet addr:192.168.1.27 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:d4ff:fe94:cdf7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:141571 errors:0 dropped:0 overruns:0 frame:0
TX packets:84597 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:197503140 (188.3 MiB) TX bytes:17356551 (16.5 MiB)
Interrupt:20
eth1 Link encap:Ethernet HWaddr 00:15:00:0C:92:4E
inet6 addr: fe80::215:ff:fe0c:924e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:432 (432.0 b)
Interrupt:22 Base address:0x4000 Memory:fa9ff000-fa9fffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 b) TX bytes:480 (480.0 b)
[root at localhost Bell]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root at localhost Bell]# cat /etc/resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
[root at localhost Bell]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thanks,
Andy
> Date: Wed, 17 Feb 2010 19:32:10 +0000
> Subject: Re: [gPXE] Not able to access Internet with sanboot
> From: stefanha at gmail.com
> To: andychen_ca at hotmail.com
> CC: gpxe at etherboot.org
>
> On Wed, Feb 17, 2010 at 6:29 PM, Andy Chen <andychen_ca at hotmail.com> wrote:
> > I boot FC12 from sanboot with gpxe 1.0.0.
> > It works perfect except seems to me that the network is occupied by iscsi
> > and not share with FireFox brower cause it not able to access internet.
> > Anybody has experienced this?
> > Appreciate your help in advance.
>
> This is most likely not an iSCSI issue and at this stage of execution
> gPXE is no longer being used. This is a Linux network configuration
> issue.
>
> iSCSI uses a TCP connection. So in order for iSCSI to work, part of
> your network configuration must be correct. Perhaps DNS is not set up
> and Firefox isn't able to look up of domain names?
>
> You can test this by trying to ping google.com to see if ping resolves
> the IP address:
> $ ping google.com
> PING google.com (209.85.227.106) 56(84) bytes of data.
> 64 bytes from wy-in-f106.1e100.net (209.85.227.106): icmp_seq=1 ttl=54
> time=32.1 ms
>
> The "google.com (209.85.227.106)" output shows me that ping was able
> to resolve "google.com" to an IP address. If ping cannot look up
> "google.com" then DNS is not set up.
>
> A few commands to check the network configuration:
> /sbin/ifconfig
> /sbin/route -n
> cat /etc/resolv.conf
> iptables -L -n (needs to be run as root, e.g. use sudo)
>
> If you post the output of these commands we should have a clearer
> picture of what is missing.
>
> Stefan
_________________________________________________________________
Introducing Windows® phone.
http://go.microsoft.com/?linkid=9708122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe/attachments/20100217/267333da/attachment-0001.html
More information about the gPXE
mailing list